dim {limma} | R Documentation |
Retreive the number of rows (genes) and columns (arrays) for an RGList, MAList or MArrayLM object.
## S3 method for class 'RGList': dim(x)
x |
an object of class RGList , MAList or MArrayLM |
The matrices of expression data from the individual objects are cbinded. The data.frames of target 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.
Numeric vector of length 2. The first element is the number of rows (genes) and the second is the number of columns (arrays).
Gordon Smyth
dim
in the base package.
2.Classes gives an overview of data classes used in LIMMA.
M <- A <- matrix(11:14,4,2) rownames(M) <- rownames(A) <- c("a","b","c","d") colnames(M) <- colnames(A) <- c("A1","A2") MA <- new("MAList",list(M=M,A=A)) dim(M)