FetchData: Access cellular data

Description Usage Arguments Value Examples

Description

Retreives data (feature expression, PCA scores, metrics, etc.) for a set of cells in a Seurat object

Usage

1
FetchData(object, vars, cells = NULL, slot = "data")

Arguments

object

Seurat object

vars

List of all variables to fetch

cells

Cells to collect data for (default is all cells)

slot

Slot to pull feature data for

Value

A data frame with cells as rows and cellular data as columns

Examples

1
2
pc1 <- FetchData(object = pbmc_small, vars = 'PC1')
head(x = pc1)

atakanekiz/Seurat3.0 documentation built on May 26, 2019, 2:33 a.m.