TIMER and CIBERSORT revealed that GC patients in high-risk groups presented a positive relation to infiltrating B cells, CD4+ T cells, neutrophils, macrophages, Tregs, myeloid dendritic cells, and M0 macrophages in the TME. This evidence concerns the gene CD4 and gastric cancer.