Kaplan-Meier curves, log-rank test, and Cox regression were used for survival analysis.<h4>Results</h4>Compared with the control group, gastric cancer patients have higher SII (p < 0.01) and lower CD3<sup>+</sup> T cell (p = 0.001), CD4<sup>+</sup> T cell (p = 0.004), CD8<sup>+</sup> T cell (p = 0.003), and B cell absolute counts (p < 0.01). This evidence concerns the gene CD8A and gastric cancer.