The results illustrated that TAMs (31.94%), resting memory CD4+ T cells (16.49%), CD8+ T cells (13.45%) and Treg cells (6.81%) were abundant in gastric cancer, whereas naive CD4+ T cells (0.01%), eosinophils (0.43%), δγ T cells (0.34%), monocytes (0.77%) and memory B cells (1.18%) were sparse. This evidence concerns the gene CD4 and gastric cancer.