This study aims to explore the connection between tumor-associated macrophages (TAMs) and the programmed cell death protein 1(PD-1)/programmed death ligand 1 (PD-L1) pathway in gastric cancer (GC). Here, CD274 is linked to gastric cancer.