Fig. 2From: PhyliCS: a Python library to explore scCNA data and quantify spatial tumor heterogeneityIntra and inter-sample pairwise distance. Given the cell p, a(p), is the average pairwise distance between p and all other cells from its own sample, while b(p) is the average pairwise distance between p and the cells from the “nearest” sampleBack to article page