Given that Group 2 corresponded to a high-risk score and poor prognosis, this finding indicates that the infiltration of naïve B cells and resting CD4+ memory T cells in the TME of STAD may portend a worse prognosis. This evidence concerns the gene CD4 and gastric adenocarcinoma.