Spatial distributions of CD8 and Ki67 cells in the tumor microenvironment independently predict breast cancer-specific survival in patients with ER+HER2– and triple-negative breast carcinoma. Here, CD8A is linked to neoplasm.