Learn R Programming

BioMark (version 0.4.5)

selection: 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 BioMark.
...
Further arguments, currently ignored.

Value

See Also

get.biom

Examples

Run this code
## 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)

Run the code above in your browser using DataLab