Learn R Programming

Seurat (version 2.0.0)

SetAllIdent: Switch identity class definition to another variable

Description

Switch identity class definition to another variable

Usage

SetAllIdent(object, id = NULL)

Arguments

object

Seurat object

id

Variable to switch identity class to (for example, 'DBclust.ident', the output of density clustering) Default is orig.ident - the original annotation pulled from the cell name.

Value

A Seurat object where object@ident has been appropriately modified