Both immune-related and pro-cancer gene sets were enriched in both triple-negative breast cancer (TNBC) and ER-positive/HER2-negative breast cancer with a high allograft rejection score. This evidence concerns the gene ERBB2 and cancer.