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. The gene discussed is CD4; the disease is neoplasm.