The survival analysis results of K–M plotter were also consistent with those of MR analysis, that is, CD4, HLA-DRB1, HLA-DRA, and ESR1 were favorable factors for HER2-BC, and their expressions were positively correlated with the prognosis. This evidence concerns the gene CD4 and breast cancer.