SpaCET.distance.to.interface: Distance to tumor border

View source: R/interaction.R

SpaCET.distance.to.interfaceR Documentation

Distance to tumor border

Description

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"))


data2intelligence/SpaCE documentation built on April 6, 2024, 2:32 a.m.