cbind: Combine DGEList Objects

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Combine a set of DGEList objects.

Usage

1
2
3
4
## S3 method for class 'DGEList'
cbind(..., deparse.level=1)
## S3 method for class 'DGEList'
rbind(..., deparse.level=1)

Arguments

...

DGEList objects.

deparse.level

not currently used, see cbind in the base package

Details

cbind combines data objects assuming the same genes in the same order but different samples. rbind combines data objects assuming equivalent samples, i.e., the same RNA targets, but different genes.

For cbind, the matrices of count data from the individual objects are cbinded. The data.frames of samples information, if they exist, are rbinded. The combined data object will preserve any additional components or attributes found in the first object to be combined. For rbind, the matrices of count data are rbinded while the sample information is unchanged.

Value

An DGEList object holding data from all samples and all genes from the individual objects.

Author(s)

Gordon Smyth

See Also

cbind in the base package.

Examples

1
2
3
4
## Not run: 
dge <- cbind(dge1,dge2,dge3)

## End(Not run)

edgeR documentation built on Jan. 16, 2021, 2:03 a.m.