powered by
For cells in each ident, set a new identity based on the most common value of a specified metadata column.
RegroupIdents(object, metadata)
Seurat object
Name of metadata column
A Seurat object with the active idents regrouped
# NOT RUN { data("pbmc_small") pbmc_small <- RegroupIdents(pbmc_small, metadata = "groups") # }
Run the code above in your browser using DataLab