Skip to contents

Plot spatial correlation of cell type proportions

Usage

plt_colocalization(spatial_obj, method = NULL, level = NULL, min_prop = 0.01)

Arguments

spatial_obj

an `Seurat` object with a Spatial assay with `deconverse::deconvolute` results

method

a method to plot. If NULL and only one method ran, that method will be plotted.

level

a level of annotation to plot. If NULL, the finest level will be plotted.

min_prop

minimal proportion of a cell type to be considered as occuring in a given spot

Value

a ggnetwork plot of co-occurance of cell types in spots