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
- theme_viewmastr() : makes the background transparent, gets rid of axes
- you can access color palettes via
viewmastrPal
DimPlot(seurat, group.by = "cell_type")+scale_color_manual(values = pal_discrete(set = "fallDay", values = levels(factor(seurat$cell_type))))+theme_viewmastr()

- sfc() : returns beautiful rainbow colors that can be scrambled
DimPlot(seurat, group.by = "cell_type")+scale_color_manual(values = sfc(n=9, scramble = F))+theme_viewmastr()
