Description Usage Arguments Value
The subset_samples() and subset_features() functions gets a subset of an mSet object either by samples or features. The two functions can either take character vectors of sample/feature names, logical values, or integer indices to specify the samples or features to subset.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## S4 method for signature 'mSet,character'
subset_samples(x, samples)
## S4 method for signature 'mSet,logical'
subset_samples(x, samples)
## S4 method for signature 'mSet,integer'
subset_samples(x, samples)
## S4 method for signature 'mSet,character'
subset_features(x, features)
## S4 method for signature 'mSet,logical'
subset_features(x, features)
## S4 method for signature 'mSet,integer'
subset_features(x, features)
|
x |
An |
samples |
The samples to subset. Can be character, logical, or integers. |
features |
The features to subset. Can be character, logical, or integers. |
An mSset-class
or derived object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.