Retrieve the number of rows (genes) and columns (arrays) for an marrayRaw, marrayNorm or marrayInfo object.
## S3 method for class 'marrayRaw' dim(x)
an object of class
Microarray data objects share many analogies with ordinary matrices in which the rows correspond to spots or 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
ncol(x) and so on also work.
Numeric vector of length 2. The first element is the number of rows (genes) and the second is the number of columns (arrays).
modified from Gordon Smyth's function
dim in the base package.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.