Skip to contents

Plot spatial correlation of cell type proportions

Usage

plt_spatial_correlation(spatial_obj, method = NULL, level = NULL)

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.

Value

a ggplot of spatial correlation between cell types