Combining SCEs {SingleCellExperiment} | R Documentation |
Methods to combine SingleCellExperiment objects.
## S4 method for signature 'SingleCellExperiment' rbind(..., deparse.level=1) ## S4 method for signature 'SingleCellExperiment' cbind(..., deparse.level=1)
... |
One or more SingleCellExperiment objects. |
deparse.level |
An integer scalar; see |
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.
A SingleCellExperiment object containing all rows/columns of the supplied objects.
Aaron Lun
example(SingleCellExperiment, echo=FALSE) # using the class example rbind(sce, sce) cbind(sce, sce) dim(reducedDims(sce)[[1]])