CreateSeuratObjectList: Create a list of Seurat Objects

Description Usage Arguments Value Examples

View source: R/CreateSeuratObjectList.R

Description

CreateSeuratObjectList() creates a list of Seurat objects for use in the RunMultiCCA function in the R package Seurat. The function splits a single aggregated barcoded expression matrix into separate matries based on the suffix at the end of each cellular barcode e.g. ("ACTAGGAGACAGGTGC-1").

Usage

1
CreateSeuratObjectList(exprs_matrix, phenoData, scaleData = FALSE)

Arguments

exprs_matrix

an expression matrix; row names must be gene names and column names must be cell barcodes

phenoData

dataframe where rows are cells and rownames are cell barcodes, columns are fields defining cellular characteristics. Row names of phenoData must match column names of exprs_matrix.

Value

A list of Seurat Objects

Examples

1
list <- CreateSeuratObjectList(exprs_matrix = exprs(dat), phenoData = pData(dat))

jacobheng/cellwrangler documentation built on Aug. 12, 2019, 6:49 a.m.