Calculate the distance of cell-cell interactions to tumor-immune interface.
Usage
SpaCET.distance.to.interface(
SpaCET_obj,
cellTypePair = c("CAF", "Macrophage M2"),
nPermutation = 1000
)Examples
SpaCET.distance.to.interface(SpaCET_obj, cellTypePair=c("CAF", "Macrophage M2"))