Key genes associated with the prognosis of gastric cancer patients. (A) The nomogram predicting overall survival in gastric cancer patients. (B) Plots depicting the calibration of the model in terms of agreement between predicted and observed one- and two-year outcomes. (C) Distribution of risk score, overall survival, and heatmap of the key genes in The Cancer Genome Atlas (TCGA) dataset. (D) Dendrogram of key genes in the TCGA dataset distinguished survival status by supervised hierarchical clustering. (E) Two clusters were associated with overall survival. (F) Differences in immune cell infiltration between clusters 1 (C1) and 2 (C2). (G) Correlation and clustering for immune cells. (H) Correlation between the expression of key genes and immune cell infiltration.