Description Usage Arguments Value Author(s) Examples
View source: R/subset.madata.R
Return subsets of an an object of class madata
meeting given
conditions.
1 2 |
x |
An object of class |
arrays |
A vector specifying which arrays to keep or discard. |
genes |
A vector specifying which genes to keep or discard. |
... |
Ignored at this point. |
An object of class madata
with specified arrays and genes.
Hao Wu
1 2 3 4 5 6 7 8 9 10 | data(kidney)
## Not run:
smalldata <- subset(kidney.raw, arrays=c(1,2))
# take out the all arrays except array 1
idx.array <- 1:kidney.raw$n.array
smalldata <- subset(kidney.raw,arrays=(idx.array[-1]))
# take out gene number 1 to 20
smalldata <- subset(kidney.raw,genes=1:20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.