Measures of the spatial distributions of immune cells within the tumor microenvironment, in particular colocalization or close spatial proximity of PD-1+ T cells with PD-L1+ cells (immune and tumor cells), are significantly associated with response in the overall cohort as well as the in the triple negative (TN) and HR+HER2− subtypes. The gene discussed is CD274; the disease is neoplasm.