Immunoclassification characterized by CD8 and PD-L1 expression is associated with the clinical outcome of gastric cancer patients. Here, CD274 is linked to gastric cancer.