CD8A and neoplasm: The objective of this study was to explore whether the distribution of lymphocytes with respect to tumor cells predicts prognosis.<h4>Methods and findings</h4>In this retrospective cohort study, we used multiplex immunofluorescent (IF)-stained images of tissue microarray cores (stained for cytokeratin [Ck], CD8, and FoxP3) obtained from 1,467 study participants to compute distance-based visual morphometry for epithelial and immune cells, including two new metrics, proximity and consistency.