Plot ROIs on spatial.
Examples
data("xenium_bc_spe")
coi <- c("Breast cancer", "Fibroblasts")
spe <- gridDensity(spe, coi = coi)
spe <- findROI(spe, coi = coi, method = "walktrap", steps = 5)
plotROI(spe, pt.size = 0.3, pt.alpha = 0.2)
Plot ROIs on spatial.
data("xenium_bc_spe")
coi <- c("Breast cancer", "Fibroblasts")
spe <- gridDensity(spe, coi = coi)
spe <- findROI(spe, coi = coi, method = "walktrap", steps = 5)
plotROI(spe, pt.size = 0.3, pt.alpha = 0.2)