combine: Combining methods

Description Usage Arguments Details Value Author(s) Examples

Description

Methods to combine SingleCellExperiment objects.

Usage

1
2
3
4
5
## S4 method for signature 'SingleCellExperiment'
rbind(..., deparse.level=1)

## S4 method for signature 'SingleCellExperiment'
cbind(..., deparse.level=1)

Arguments

...

One or more SingleCellExperiment objects.

deparse.level

An integer scalar; see ?base::cbind for a description of this argument.

Details

For rbind, SingleCellExperiment objects are combined row-wise, i.e., rows in successive objects are appended to the first object. Column metadata, experimental metadata and reducedDims coordinates will only be taken from the first element in the list.

For cbind, SingleCellExperiment objects are combined columns-wise, i.e., columns in successive objects are appended to the first object. reducedDims coordinates will be combined row-wise to reflect the addition or more cells. Row and experimental metadata will only be taken from the first element in the list.

Value

A SingleCellExperiment object containing all rows/columns of the supplied objects.

Author(s)

Aaron Lun

Examples

1
2
3
4
example(SingleCellExperiment, echo=FALSE) # using the class example
rbind(sce, sce)
cbind(sce, sce)
dim(reducedDims(sce)[[1]])

Bioconductor-mirror/SingleCellExperiment documentation built on July 15, 2017, 12:01 a.m.