Immune activity was associated with prognostic genes in basal-like and HER2-enriched breast cancers with significant enrichment of GO processes such as ‘immune system development’ (Qbasal = 3.0 × 10−4, 113 genes; QHER2 = 0.035, 61 genes; ranked hypergeometric test) and ‘lymphocyte differentiation’ (QHER2 = 6.8 × 10−4, 46 genes; Qbasal = 8.4 × 10−4, 45 genes). The gene discussed is ERBB2; the disease is breast cancer.