selection: Accessor function to the selected variables of a BioMark...

Description Usage Arguments Value See Also Examples

View source: R/get.biom.R

Description

Convenience function to get the indices of the selection in a BioMark object.

Usage

1
selection(object, ...)

Arguments

object

An object of class BioMark.

...

Further arguments, currently ignored.

Value

A vector containing the indices of the selected variables.

See Also

get.biom

Examples

1
2
3
4
5
6
7
## 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)

BioMark documentation built on May 2, 2019, 3:01 a.m.

Related to selection in BioMark...