selection {BioMark} | R Documentation |
Accessor function to the selected variables of a BioMark object
Description
Convenience function to get the indices of the selection in a BioMark object.
Usage
selection(object, ...)
Arguments
object |
An object of class |
... |
Further arguments, currently ignored. |
Value
A vector containing the indices of the selected variables.
See Also
Examples
## stability-based selection
set.seed(17)
data(spikedApples)
apple.stab <- get.biom(X = spikedApples$dataMatrix,
Y = factor(rep(1:2, each = 10)),
ncomp = 2:3, type = "stab")
selected.variables <- selection(apple.stab)
[Package BioMark version 0.4.5 Index]