Patients with apocrine carcinoma, a rare type of primary breast cancer, had lower TILs, CD8 levels, and PD-L1 expression than those with ductal carcinoma. Here, CD8A is linked to breast cancer.