The expression of the HER2 gene, PD-L1, and PD-1 in gastric cancer was correlated with the stage and lymph node metastasis of gastric cancer (P < 0.05). Here, CD274 is linked to metastatic malignant neoplasm in the lymph nodes.