Here the authors describe the spatial distribution of distinct macrophage populations within regions of gastric cancer and probe their associations with clinical outcomes, gene signatures and PDL1 expression. This evidence concerns the gene CD274 and gastric cancer.