View source: R/seurat_related.fine.R
DimPlot_my | R Documentation |
Draw UMAP or tSNE plot with circle backgrounded text
DimPlot_my( sce, group.by = "seurat_clusters", reduction = "umap", isRaster = T, show.legend = F, theme.use = theme_classic, par.geom_point = list(size = 0.3), par.geom_text = list(size = 4, color = "black"), par.circle = list(size = 10, stroke = 1.2, fill = "#FFFFFF66"), title = "UMAP plot", colSet = NULL )
sce |
Seurat obj |
group.by |
group by |
reduction |
reduction method |
isRaster |
is raster? |
show.legend |
default not show legend |
theme.use |
which theme |
par.geom_point |
geom_point parameters |
par.geom_text |
geom_text parameters |
par.circle |
circle parameters |
title |
main title of the figure |
colSet |
color list |
DimPlot_my(sce, title="pbmc_3k") #default umap DimPlot_my(sce, reduction = "tsne", title="pbmc_3k tSNE") #tsne DimPlot_my(sce, reduction = "pca", title="pbmc_3k PCA") #pca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.