Peripheral blood lymphocyte subsets, including CD4 + T cells, CD8 + T cells, CD4+/CD8 + ratio, NK cells, Treg cells, and B cells, were collected from 195 patients with advanced gastric cancer who were admitted to the First Hospital of Shanxi Medical University with immunotherapy from January 2020 to October 2021, at the time of diagnosis of advanced gastric cancer, before immunotherapy and after 3 cycles of immunotherapy. This evidence concerns the gene CD8A and gastric cancer.