These findings suggest that GPX8 may inhibit tumor immune response by recruiting different immune cell infiltration in COAD and STAD. Here, GPX8 is linked to gastric adenocarcinoma.