CD8A and neoplasm: First, we calculated the distances of each macrophage, CD8+ T cell, CD4+ T cell, Treg and B cell to the nearest tumour cell or endothelial cell using the coordinates of the cell centroids.