subsetting {CALIB} | R Documentation |
Exact a subset of an RGList\_CALIB, SpikeList or ParameterList object.
## S3 method for class 'RGList_CALIB' object[i, j, ...]
object |
an object of class |
i,j |
subscripts. |
... |
not used |
i
,j
may take any values acceptable for the matrix
components of object
.
An object of the same class as object
containing the data with specified
subset of spots and arrays.
Hui Zhao
subsetting
in limma package
subsetting
in the limma package
# for RGList_CALIB R <- G <- matrix(1:8,4,2) rownames(R) <- rownames(G) <- c("g1","g2","g3","g4") colnames(R) <- colnames(G) <- c("a1","a2") RG <- new("RGList_CALIB",list(R=R,G=G)) RG[1:2,] RG[,1:2] RG[1:2,1:2]