Here, various immunophenotypes and associated gene sets following anti-PD-1 treatment were identified, providing insight into heterogeneity in PD-1 response in breast cancer. Here, PDCD1 is linked to breast cancer.