forked from scfurl/viewmaster
-
Notifications
You must be signed in to change notification settings - Fork 0
Data Visualization
Olivia Waltner edited this page Oct 26, 2022
·
7 revisions
- pal_discrete() & pal_continuous: adapted from archR can use to overwrite default colors
DimPlot(seurat, group.by = "cell_type")+scale_color_manual(values = pal_discrete(set = "fallDay", values = levels(factor(seurat$cell_type))))
- sfc() : returns beautiful rainbow colors that can be scrambled
DimPlot(seurat, group.by = "cell_type")+scale_color_manual(values = sfc(n=9, scramble = F))
- viewmastr_theme() : makes the background transparent
DimPlot(seurat, group.by = "cell_type")+scale_color_manual(values = sfc(n=9, scramble = F))+viewmastr_theme()