RegroupIdents: Regroup idents based on meta.data info

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

For cells in each ident, set a new identity based on the most common value of a specified metadata column.

Usage

1
RegroupIdents(object, metadata)

Arguments

object

Seurat object

metadata

Name of metadata column

Value

A Seurat object with the active idents regrouped

Examples

1
2
data("pbmc_small")
pbmc_small <- RegroupIdents(pbmc_small, metadata = "groups")

ibseq/scs-analysis documentation built on Feb. 27, 2021, 12:35 a.m.