dim: Retrieve the Dimensions of a DGEList, DGEExact, DGEGLM, DGELRT or TopTags Object
Description
Retrieve the number of rows (genes) and columns (libraries) for an DGEList, DGEExact or TopTags Object.
Usage
"dim"(x)
"length"(x)
Arguments
x
an object of class DGEList, DGEExact, TopTags, DGEGLM or DGELRT
Value
Numeric vector of length 2.
The first element is the number of rows (genes) and the second is the number of columns (libraries).
Details
Digital gene expression data objects share many analogies with ordinary matrices in which the rows correspond to genes and the columns to arrays.
These methods allow one to extract the size of microarray data objects in the same way that one would do for ordinary matrices.
A consequence is that row and column commands nrow(x), ncol(x) and so on also work.
See Also
dim in the base package.
02.Classes gives an overview of data classes used in LIMMA.