High Van Nuys classification score and high‐grade, comedo necrosis, apocrine features, high‐TIL, high CD8+ lymphocytes, and healing were significantly associated with HER2‐positive (luminal‐HER2, HER2 type) and TN breast cancers. This evidence concerns the gene CD8A and breast cancer.