| RegroupIdents | R Documentation | 
For cells in each ident, set a new identity based on the most common value of a specified metadata column.
RegroupIdents(object, metadata)
| object | Seurat object | 
| metadata | Name of metadata column | 
A Seurat object with the active idents regrouped
data("pbmc_small")
pbmc_small <- RegroupIdents(pbmc_small, metadata = "groups")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.