BRCA2-deficient breast cancers in WSI were enriched for activated CD4 T cells, γδ T cells, type 1 T helper cell, activated B cells, and immature B cell compared to BRCA-proficient breast cancers. Here, BRCA2 is linked to breast cancer.