View source: R/scDensityPlot.R
| scDensityPlot | R Documentation | 
Visualize density plot in low dimensional embedding
scDensityPlot(
  object = NULL,
  reduction = NULL,
  title = NULL,
  split.by = NULL,
  ncol = NULL,
  colors = NULL,
  digits = NULL
)
| object | Seurat object | 
| reduction | Dimensional reduction to use, default reduction='umap' | 
| title | Figure title | 
| split.by | Name of a meta.data column to split plot by | 
| ncol | Number of columns for display the plots | 
| colors | Vector of colours to use for n-colour gradient | 
| digits | Integer representing the number of decimal places reserved for the legend, default digits=3 | 
A ggplot object
scDensityPlot(object = H3N2_small,
  reduction = "umap",
  split.by = "sample",
  ncol = 2
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.