Learn R Programming

Seurat (version 2.0.0)

SetIdent: Set identity class information

Description

Sets the identity class value for a subset (or all) cells

Usage

SetIdent(object, cells.use = NULL, ident.use = NULL)

Arguments

object

Seurat object

cells.use

Vector of cells to set identity class info for (default is all cells)

ident.use

Vector of identity class values to assign (character vector)

Value

A Seurat object where object@ident has been appropriately modified