Skip to contents

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

An SpaCET object.

cellTypePair

A pair of cell types.

nPermutation

Permutation number.

Value

A ggplot object.

Examples

SpaCET.distance.to.interface(SpaCET_obj, cellTypePair=c("CAF", "Macrophage M2"))