MergeSeurat: Merge Seurat Objects

Description Usage Arguments Value

Description

Merge two Seurat objects

Usage

1
2
3
4
MergeSeurat(object1, object2, project = NULL, min.cells = 0,
  min.genes = 0, is.expr = 0, do.logNormalize = T, total.expr = 10000,
  do.scale = TRUE, do.center = TRUE, names.field = 1, names.delim = "_",
  save.raw = T, add.cell.id1 = NULL, add.cell.id2 = NULL)

Arguments

object1

First Seurat object to merge

object2

Second Seurat object to merge

min.cells

Include genes with detected expression in at least this many cells

min.genes

Include cells where at least this many genes are detected

is.expr

Expression threshold for 'detected' gene

do.logNormalize

whether to normalize the expression data per cell and transform to log space.

total.expr

scale factor in the log normalization

do.scale

In object@scale.data, perform row-scaling (gene-based z-score)

do.center

In object@scale.data, perform row-centering (gene-based centering)

names.field

For the initial identity class for each cell, choose this field from the cell's column name

names.delim

For the initial identity class for each cell, choose this delimiter from the cell's column name

save.raw

TRUE by default. If FALSE, do not save the unmodified data in object@raw.data which will save memory downstream for large datasets

add.cell.id1

String to be appended to the names of all cells in object1

add.cell.id2

String to be appended to the names of all cells in object2

meta.data

Additional metadata to add to the Seurat object. Should be a data frame where the rows are cell names, and the columns are additional metadata fields

Value

Merged Seurat object


nukappa/seurat_v2 documentation built on May 24, 2019, 9:57 a.m.