highlightUMAP: Highlight cells on UMAP plot

View source: R/plot_functions.R

highlightUMAPR Documentation

Highlight cells on UMAP plot

Description

Highlight cells on UMAP plot

Usage

highlightUMAP(
  object,
  group = "seurat_clusters",
  reduction = "umap",
  highlight.color = "tomato",
  raster = F,
  ...
)

Arguments

object

Seurat object.

group

grouping variable in object's meta data.

reduction

reduction used to visualize cells. Default is "umap".

highlight.color

color of highlighted cells. Default is "tomato".

raster

Convert points to raster format, default is FALSE.

Value

list of ggplot handles

Examples


 plot.highlight <-  highlightUMAP(object = so, group = "seurat_clusters")


NMikolajewicz/scMiko documentation built on June 28, 2023, 1:41 p.m.