addMetaData: Add Metadata

Description Usage Arguments Value

Description

Adds additional data for single cells to the Seurat object. Can be any piece of information associated with a cell (examples include read depth, alignment rate, experimental batch, or subpopulation identity). The advantage of adding it to the Seurat object is so that it can be analyzed/visualized using fetch.data, vlnPlot, genePlot, subsetData, etc.

Usage

1
addMetaData(object, metadata)

Arguments

object

Seurat object

metadata

Data frame where the row names are cell names (note : these must correspond exactly to the items in object@cell.names), and the columns are additional metadata items.

Value

Seurat object where the additional metadata has been added as columns in object@data.info


paodan/studySeu documentation built on May 23, 2019, 3:06 p.m.