These two groups of immune cells exert opposing functions within the tumor immune microenvironment, and the consistency of our findings suggests that FMR1 may be involved in shaping the immune infiltration landscape of gastric cancer, thereby influencing immune balance and tumor progression. The gene discussed is FMR1; the disease is gastric cancer.