Modify the legend labels for categorical metadata.
Examples
bfc <- BiocFileCache::BiocFileCache(ask = FALSE)
pbmc_path <- BiocFileCache::bfcrpath(bfc,
"https://github.com/OpenOmics/CellSight/releases/download/datav1.0.0/multimodal_pbmc_subsample.rds")
seu <- readRDS(pbmc_path)
scConf <- createConfig(seu)
scConf = modLabels(scConf, meta.to.mod = "celltype.l1",
new.labels = c("B cells", "CD4 T cells", "CD8 T cells",
"Dendritic", "Monocyte", "NK cells",
"Other", "Other T"))
