In ovarian cancer, PDGFB (P < 0.05), PDGFD (P < 0.05), PDGFRA (P < 0.001), and PDGFRB (P < 0.001) had a significant positive correlation with macrophage M2 infiltration, and PDGFA had a negative association with macrophage M1 infiltration (P < 0.01). The gene discussed is PDGFD; the disease is ovarian carcinoma.