KRT17 and cancer: Based on the premise that not only the relative abundance of T cells, but also the distribution and spatial relationship between T-cell subpopulations and cancer cells reflect biological interactions, we next set out to develop a model to score immune cells in the spatial context of direct interaction, reflected by immune cells that overlapped or directly contact tumor cells (intratumoral immune cells) versus those present within 25 μm of the closest tumor cells (peritumoral immune cells), relative to the expression of K17 (Fig. 1d).