To develop nomograms for predicting disease-free survival (DFS) and overall survival (OS) of gastric cancer (GC) by integrating programmed death ligand 1 (PD-L1) and CD4+/CD8+ tumor-infiltrating lymphocytes (TILs) and CD163+ tumor-associated macrophages (TAMs). The gene discussed is CD8A; the disease is neoplasm.