Highlight cells on UMAP plot

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

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".

Value

list of ggplot handles

Examples


 plot.highlight <-  highlightUMAP(object = so, group = "seurat_clusters")
#> Error in data.frame(object@reductions[[reduction]]@cell.embeddings): object 'so' not found