getVarsFromFS: Which features are most important for your gene list?

Description Usage Arguments Value

View source: R/featselect.R

Description

getVarsFromFS converts the output of featureSelection function to a list of features that were most important across bootstrapping

Usage

1
getVarsFromFS(fsdata, r = 0.6, counts = F)

Arguments

fsdata

rfe object. Output of featureSelection.

r

num scalar. Between 0-1. Minimum proportion of bootstraps that must have selected that feature as important.

counts

lgl scalar. If TRUE, will return counts each "important" feature appeared amongst bootstrap iterations. If FALSE, the names of the features in the same order.

Value

Either counts or names of the most important features determined by rfe.


juanbot/G2PML documentation built on Aug. 1, 2020, 5:07 a.m.