The selected key gene GNB4 is a potential biomarker to guide the immunotherapy of gastric cancer. Here, GNB4 is linked to gastric cancer.