edgeR (version 3.14.0)

dimnames: Retrieve the Dimension Names of a DGE Object

Description

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

Usage

"dimnames"(x) "dimnames"(x) <- value

Arguments

x
an object of class DGEList, DGEExact, DGEGLM, DGELRT or TopTags
value
a possible value for dimnames(x), see dimnames

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.

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.

See Also

dimnames in the base package.