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
)Arguments
- SpaCET_obj
 A SpaCET object.
- cellTypePair
 A pair of cell types.
- nPermutation
 Permutation number.
Examples
SpaCET.distance.to.interface(SpaCET_obj, cellTypePair=c("CAF", "Macrophage M2"))