selectBenchmark {xegaSelectGene}R Documentation

Benchmark and stress test of selection functions.

Description

Times a selection function for populations of size 10 to 10^{limit}.

Usage

selectBenchmark(
  method = "Uniform",
  continuation = TRUE,
  limit = c(10, 100, 1000),
  verbose = FALSE
)

Arguments

method

Selection function. Default: Uniform.

continuation

Convert to index function? Default: TRUE.

limit

Vector of population sizes.

verbose

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

Value

Vector of execution times in seconds.

See Also

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

Examples

selectBenchmark(method="Uniform", continuation=TRUE, limit=c(10, 100, 1000))
selectBenchmark(method="SUS", continuation=TRUE, limit=c(5000, 10000, 15000))
selectBenchmark(method="SUS", continuation=FALSE, limit=seq(from=100, to=1000, length.out=5))

[Package xegaSelectGene version 1.0.0.0 Index]