Skip to contents

Calculate Colocalization

Usage

cell_pair_localization(
  spe,
  method = NULL,
  distance = 0,
  cell_type_1 = NULL,
  cell_type_2 = NULL,
  density = FALSE,
  niter = 100,
  presence = NULL
)

Arguments

spe

SpatialExperiment

method

presence method

distance

distance in spot diameter

cell_type_1

celltype 1

cell_type_2

celltype 2

density

logical

niter

permutations

presence

presence matrix if available

Value

statistics and graph