Description Usage Arguments Value Author(s) See Also Examples
Fetch a subset of samples from a given data structure
1 | getSamples(x, y, ...)
|
x |
the matrix of sample data to subset. If |
y |
which sample(s) to use as data. Can be a vector of characters matching sample names, integers indicating which samples to choose, or a mixture of the two. If not supplied, all samples will be used. |
... |
Arguments to be passed to methods (see
|
Returns a matrix of values corresponding to a subset of samples from the data supplied, where columns correspond to samples. Function halts if no samples to return.
Reid F. Thompson (rthompso@aecom.yu.edu)
1 2 3 | data(sample.ExpressionSet)
se.ABC <- getSamples(sample.ExpressionSet, c("A", "B", "C"), element="se.exprs")
se.ABC[1:10,]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.