dimnames: Retrieve the Dimension Names of a DGE Object

Description Usage Arguments Details Value Author(s) See Also

Description

Retrieve the dimension names of a digital gene expression data object.

Usage

1
2
3
4
## S3 method for class 'DGEList'
dimnames(x)
## S3 replacement method for class 'DGEList'
dimnames(x) <- value

Arguments

x

an object of class DGEList, DGEExact, DGEGLM, DGELRT or TopTags

value

a possible value for dimnames(x), see dimnames

Details

The dimension names of a DGE data object are the same as those of the most important component of that object.

Setting dimension names is currently only permitted for DGEList or DGEGLM objects.

A consequence of these methods is that rownames, colnames, rownames<- and colnames<- will also work as expected on any of the above object classes.

Value

Either NULL or a list of length 2. If a list, its components are either NULL or a character vector the length of the appropriate dimension of x.

Author(s)

Gordon Smyth

See Also

dimnames in the base package.


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