subsetting: Subset of RGList\_CALIB, SpikeList or ParameterList object

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Exact a subset of an RGList\_CALIB, SpikeList or ParameterList object.

Usage

1
2
 ## S3 method for class 'RGList_CALIB'
object[i, j, ...]

Arguments

object

an object of class RGList_CALIB or SpikeList.

i,j

subscripts. i is the subscripts of the spots and j is the subscripts of the arrays.

...

not used

Details

i,j may take any values acceptable for the matrix components of object.

Value

An object of the same class as object containing the data with specified subset of spots and arrays.

Author(s)

Hui Zhao

References

subsetting in limma package

See Also

subsetting in the limma package

Examples

1
2
3
4
5
6
7
8
9
# 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]

CALIB documentation built on Oct. 31, 2019, 3:45 a.m.