
Last chance! 50% off unlimited learning
Sale ends in
RGList
, MAList
, EListRaw
, EList
or MArrayLM
object with only selected rows and columns of the original object.## S3 method for class 'RGList':
[(object, i, j)
subsetListOfArrays(object, i, j, IJ, IX, I, JX)
RGList
, MAList
, EListRaw
, EList
or MArrayLM
.i
subsets the probes or spots while j
subsets the arrays.i
and j
.i
only.i
.j
.object
but containing data from the specified subset of rows and columns only.i,j
may take any values acceptable for the matrix components of object
.
Either or both can be missing.
See the Extract help entry for more details on subsetting matrices.
object[]
will return the whole object unchanged.
A single index object[i]
will be taken to subset rows, so object[i]
and object[i,]
are equivalent.
subsetListOfArrays
is used internally as a utility function by the subsetting operations.
It is not intended to be called directly by users.
Values must be supplied for all arguments other than i
and j
.Extract
in the base package.
02.Classes for a summary of the different data classes.M <- A <- matrix(11:14,4,2)
rownames(M) <- rownames(A) <- c("a","b","c","d")
colnames(M) <- colnames(A) <- c("A","B")
MA <- new("MAList",list(M=M,A=A))
MA[1:2,]
MA[c("a","b"),]
MA[1:2,2]
MA[,2]
Run the code above in your browser using DataLab