We identified a 29-gene expression profile that differentiated TIL-rich from TIL-poor HER2+ DCIS. Here, ERBB2 is linked to ductal breast carcinoma in situ.