Euclidian distance to surface is calculated, and for each cross section a score is calculated as the fraction of cancer cells in the rim region that are PDL1 positive. Here, CD274 is linked to cancer.