The 5-year (85.7% vs. 73.4%) and 10-year OS (75.60% vs. 61.73%) of immunotype A population were significantly higher than those of immunotype B. A novel tumour-infiltrating immune cell-based prognostic model had also been established and the result immunorisk score (IRS) could serve as a new prognostic factor for luminal B, HER2-enriched and basal-like breast cancer. The gene discussed is ERBB2; the disease is breast carcinoma.