Skip to contents

This function returns the currently available selection methods.

Usage

listAvailableSelectionMethods(show.function = FALSE)

Arguments

show.function

logical indicating whether to show the related function name.

Value

A data frame with two columns by default:

id

the id of the selection method, to be used in the function calls

name

the name of the selection method

If show.function = TRUE, a further column containing the function name is added:

id

the id of the selection method, to be used in the function calls

name

the name of the selection method

function

the name of the selection function

Author

Alessandro Barberis

Examples


#List available methods
listAvailableSelectionMethods()
#>           id                              name
#> 1     cutoff               selection by cutoff
#> 2       rank              selection by ranking
#> 3 percentile       selection by top percentile
#> 4        fpr  selection by false positive rate
#> 5        fdr selection by false discovery rate

#List available methods and related functions
listAvailableSelectionMethods(show.function = TRUE)
#>           id                              name           function
#> 1     cutoff               selection by cutoff     selectByCutoff
#> 2        fdr selection by false discovery rate        selectByFdr
#> 3        fpr  selection by false positive rate        selectByFpr
#> 4 percentile       selection by top percentile selectByPercentile
#> 5       rank              selection by ranking    selectByRanking