Learn R Programming

Seurat (version 2.1.0)

StashIdent: Set identity class information

Description

Stashes the identity in data.info to be retrieved later. Useful if, for example, testing multiple clustering parameters

Usage

StashIdent(object, save.name = "oldIdent")

Arguments

object

Seurat object

save.name

Store current object@ident under this column name in object@meta.data. Can be easily retrived with SetAllIdent

Value

A Seurat object where object@ident has been appropriately modified

Examples

Run this code
# NOT RUN {
head(x = pbmc_small@meta.data)
pbmc_small <- StashIdent(object = pbmc_small, save.name = 'cluster.ident')
head(x = pbmc_small@meta.data)

# }

Run the code above in your browser using DataLab