In our experiments, CD8+ and activated memory CD4+ T cells were negatively correlated with NRG risk score, indicating a critical role of necroptosis in the anti-tumor immune response of gastric cancer. This evidence concerns the gene CD8A and gastric cancer.