Learn R Programming

exprso (version 0.2.0)

fsStats: Select Features by Statistical Testing

Description

fsStats selects features using the t.test or ks.test function (toggled by the how argument).

Usage

fsStats(object, top = 0, how = c("t.test", "ks.test"), ...)

Arguments

object

Specifies the ExprsArray object to undergo feature selection.

top

A numeric scalar or character vector. A numeric scalar indicates the number of top features that should undergo feature selection. A character vector indicates specifically which features by name should undergo feature selection. Set top = 0 to include all features. A numeric vector can also be used to indicate specific features by location, similar to a character vector.

how

A character string. Toggles between the "t.test" and "ks.test" method. Argument for fsStats only.

...

Arguments passed to the detailed function.

Value

Returns an ExprsArray object.