It is well known that TNBC and HER2+ BC are more tightly related to immune response (Shuai et al., 2020), so we primarily analyzed the association of these three genes with several immune cell subsets (CD4+ T cell, CD8+ T cell, neutrophil, dendritic cell, and macrophage) in TNBC and HER2+ BC population. Here, ERBB2 is linked to breast cancer.