Skip to contents

Generates a heatmap of cell pair localization p-values and a correlation heatmap of scores between all celltypes found after deconvolution

Usage

localization_heatmap(
  spe,
  method,
  distance = 0,
  correlation = TRUE,
  localization = TRUE,
  matrix = FALSE
)

Arguments

spe

SpatialExperiment object

method

deconvolution method

distance

size area of interest

correlation

correlation heatmap based on scores

localization

colocalization and avoidance heatmap

matrix

matrix (TRUE/FALSE)

Value

cell pair localization heatmap and correlation heatmap