fs.utest: Test U Manna-Whitneya (U-test) for feature selection

Description Usage Arguments Details Value Examples

View source: R/fs.utest.R

Description

Test U Manna-Whitneya (U-test) for feature selection

Usage

1
fs.utest(x, y, params = list(adjust = "holm", alpha = 0.05))

Arguments

x

input data where columns are variables and rows are observations (all numeric)

y

decision variable as a boolean vector of length equal to number of observations

params

method as accepted by p.adjust ("BY" is recommended for FDR, see Details) or SGoF SGoF

Details

In case of FDR control it is recommended to use Benjamini-Hochberg-Yekutieli p-value adjustment or SGoF

Value

A data.frame with selected features and p.value

Examples

1
2
3
4
decisions <- data$class
data$class <- NULL

fs.utest(data, decisions, params = list(adjust = 'SGoF'))

pavhrablis/benchmarkFS documentation built on Feb. 5, 2021, 12:47 a.m.