For cells in each ident, set a new identity based on the most common value of a specified metadata column.
Examples
data("pbmc_small")
pbmc_small <- RegroupIdents(pbmc_small, metadata = "groups")
For cells in each ident, set a new identity based on the most common value of a specified metadata column.
data("pbmc_small")
pbmc_small <- RegroupIdents(pbmc_small, metadata = "groups")