plotClusters | R Documentation |
A function that creates 2-D plot of single-cells, colored by any clustering solution
plotClusters(object, clusters, plotName)
object |
a Seurat object which has had a pca, umap, or tsne reduction performed on it |
clusters |
a vector of cluster assignments, labeled with cell names |
plotName |
a ggplot object with cells plotted by the dimensional reduction of the object and colors determined by the assignment from clusters |
....
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.