callFeatSel: Return feature selected nets based on given criteria

Description Usage Arguments Details Value Examples

View source: R/callFeatSel.R

Description

Return feature selected nets based on given criteria

Usage

1
callFeatSel(netScores, fsCutoff, fsPctPass)

Arguments

netScores

(matrix) matrix of net scores

fsCutoff

(integer) net must score at least this much in a split to 'pass' the threshold

fsPctPass

(numeric 0 to 1) net must pass at least this percent of splits to be considered feature-selected

Details

given the output of genNetScores.R and criteria for defining feature-selected (FS) nets, returns subset of nets that pass criteria. Net must score <fsCutoff> for at least <fsPctPass> considered feature-selected.

Value

(char) names of nets that pass feature-selection

Examples

1
2
3
4
5
data(featScores)
passed <- lapply(featScores, function(x) {
   callFeatSel(x,10,0.7) # score 10/10 in >=70% of trials
})
print(passed)

netDx documentation built on Dec. 11, 2020, 2:01 a.m.