View source: R/plot_functions.R
| highlightUMAP | R Documentation | 
Highlight cells on UMAP plot
highlightUMAP(
  object,
  group = "seurat_clusters",
  reduction = "umap",
  highlight.color = "tomato",
  raster = F,
  ...
)
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.  | 
list of ggplot handles
 plot.highlight <-  highlightUMAP(object = so, group = "seurat_clusters")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.