Plot model statistics using heatmap.
Usage
plotCorHeatmap(
model.result,
stats = c("cor.coef", "t", "p.Pos", "p.Neg"),
roi = "all",
cell.type = "all"
)
Examples
data("xenium_bc_spe")
coi <- c("Breast cancer", "Fibroblasts", "B cells", "T cells")
spe <- gridDensity(spe, coi = coi)
spe <- findROI(spe, coi = coi, method = "walktrap")
model_result <- corDensity(spe)
plotCorHeatmap(model_result$ROI)