Circulating memory PD-1+CD8+ T cells and PD-1+CD8+T/PD-1+CD4+T cell ratio predict response and outcome to immunotherapy in advanced gastric cancer patients. Here, CD8A is linked to gastric cancer.