Gastric cancer patients with higher IFN-γ (OR 3.17, 95% CI 1.51-8.26, p=6.24×10-3) and MHC (OR 2.33, 95% CI 1.19-5.23, p=0.02) scores tended to have a higher probability of response to ICIs. The gene discussed is IFNG; the disease is gastric cancer.