Memory PD-1+CD8+ T cells and PD-1+CD8+T/PD-1+CD4+T cell ratio might be effective for screening benefit population of immunotherapy in advanced gastric cancer patients based on this preliminary evidence. This evidence concerns the gene CD8A and gastric cancer.