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. This evidence concerns the gene FMR1 and neoplasm.