Compared to gastric cancer patients with TGF-β cluster B, gastric cancer patients with TGF-β cluster A had shorter OS, higher expression levels of 54 TSRGs, higher stromal scores, immune scores, ESTIMATE scores, higher levels of PD1, PD-L1, CTLA4 expression levels, and higher infiltration levels of MDSC, macrophage, and regulatory T cells. Here, PDCD1 is linked to gastric cancer.