Description Usage Arguments Value See Also Examples
View source: R/visualization.R
Label clusters on a ggplot2-based scatter plot
1 2 3 4 5 6 7 8 9 |
plot |
A ggplot2-based scatter plot |
id |
Name of variable used for coloring scatter plot |
clusters |
Vector of cluster ids to label |
labels |
Custom labels for the clusters |
split.by |
Split labels by some grouping label, useful when using
|
repel |
Use |
... |
Extra parameters to |
A ggplot2-based scatter plot with cluster labels
1 2 | plot <- DimPlot(object = pbmc_small)
LabelClusters(plot = plot, id = 'ident')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.