Through single-cell analysis, we examined the differences in cell types within the tumor microenvironment between high-risk and low-risk groups, comparing DKK1, F5, GFRA1, GPC3, and HABP2 expression in gastric cancer (GC) tissues with normal tissues, as well as between Helicobacter pylori-infected and uninfected GC tissues. This evidence concerns the gene DKK1 and gastric cancer.