runSelectBenchmarks: Script for testing all selection functions

View source: R/selectGeneBenchmark.R

runSelectBenchmarksR Documentation

Script for testing all selection functions

Description

Script for testing all selection functions

Usage

runSelectBenchmarks(lim = c(10, 100), both = TRUE, verbose = FALSE)

Arguments

lim

Vector of population sizes.

both

For both=TRUE the selection function is benchmarked with and without transformation. For both=FALSE, only the transformed selection functions are benchmarked.

verbose

Boolean. Default: FALSE. If TRUE, the function benchmarked and the population size are printed to the console.

Value

A data frame sorted in ascending order of the time of the last column. The fastest selection methods come first. The first row contains the population sizes with which the benchmark has been performed. The data frame has 1+length(lim) columns:

  • "Benchmark": The name of the benchmarked selection function. A "C" after the name indicates that the selection function has been transformed into a lookup function.

  • length(lim) columns with the execution times in seconds.

See Also

Other Benchmark Selection Functions: predictSelectTime(), runOneBenchmark(), selectBenchmark(), testSelectGene()

Examples

runSelectBenchmarks(lim=c(10, 100), both=TRUE, verbose=TRUE)
runSelectBenchmarks(lim=c(10, 100), both=FALSE)

xegaSelectGene documentation built on April 16, 2025, 5:12 p.m.