Further, our study reveals that tumor proliferation and immune response features, represented by spatial Ki67 expression and CD8+ cell density profiles, have independent prognostic value in both ER+HER2– BC and TNBC. This evidence concerns the gene CD8A and neoplasm.