Further analysis demonstrated that high expression levels of the HLA-DPB2 and HLA-DPB1 were significantly associated with high immune infiltration abundance of CD8+ T cells, CD4+ T cells, Tfh, Th1, and NK cells and with high expression of majority biomarkers of monocytes, NK cell, T cell, CD8+ T cell, and Th1 in BC and its subtype, indicating that HLA-DPB2 can increase the abundance of tumor-infiltrating lymphocytes in the BC microenvironment. This evidence concerns the gene HLA-DPB2 and breast cancer.