ClusterDimplot: Cluster Dimplot

View source: R/ClusterDimplot.R

ClusterDimplotR Documentation

Cluster Dimplot

Description

This function plots UMAPs for selected clusters of interest

Usage

ClusterDimplot(
  seurat_object,
  group_by = "seurat_clusters",
  clusters,
  cluster_col = "seurat_clusters",
  plot_title = NA,
  pt_size = 0.2,
  xlim = c(-15, 15),
  ylim = c(-15, 15),
  nrow = 1,
  shuffle = TRUE,
  seed = 123
)

Arguments

seurat_object

Seurat object

group_by

seurat_object@meta.data column to group cells by in DimPlots

clusters

array of clusters to subset and plot

cluster_col

seurat_object@meta.data column for which clusters are found in

nrow

number of rows to pass to grid.arrange

shuffle

randomly plot cells in order to prevent hiding certain populations when overplotting

seed

set seed for plotting consistency when shuffle is TRUE

Value

plot generated by grid arrange


alexthiery/scHelper documentation built on Aug. 26, 2023, 3:42 p.m.