We computed the distances between CD8+ T cells and closest tumor cells (CK positive) from slide 1 (CD8.1/CK.1) and slide 2 (CD8.2/CK.2) within each slide, to serve as ground truth. Here, CD81 is linked to neoplasm.