DimPlot_my: Draw UMAP or tSNE plot with circle backgrounded text

View source: R/seurat_related.fine.R

DimPlot_myR Documentation

Draw UMAP or tSNE plot with circle backgrounded text

Description

Draw UMAP or tSNE plot with circle backgrounded text

Usage

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
)

Arguments

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

Examples

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

DawnEve/GEB documentation built on July 6, 2022, 7:05 p.m.