In our study, the characteristic genes affecting the breast cancer PD-1/PD-L1 pathway were obtained by associating WGCNA with the PD-1/PD-L1 pathway. Here, CD274 is linked to breast cancer.