Fig. 1

Workflow of data acquisition. (1) FFPE tumor tissue samples were cut and stained with IHC for TIL and TAM marker. (2) After scanning digitalized slides were further analyzed with QuPath. Tissue was detected automatically, and false positive contamination was removed manually. (3) Positive cell detection for tissue annotations. (4) Pixel classification for regions of interest (tumor, necrosis, gap). Tumor maps generated and exported by automatic script. (5) Generating density maps for positive cells. (6) Entropy indices were calculated by using density and tumor map. Shannon entropy and cell densities [cells/mm2] were correlated with patient characteristics and outcome parameters. Graphical abstract was designed with Biorender