runOneBenchmark {xegaSelectGene}R Documentation

Script for testing a single selection functions

Description

Script for testing a single selection functions

Usage

runOneBenchmark(name, limit = c(10, 100, 1000), both = TRUE, verbose = FALSE)

Arguments

name

Name is one of the following strings.

  1. "Uniform" benchmarks SelectUniform.

  2. "ProportionalOnln" benchmarks SelectPropFitOnln.

  3. "Proportional" benchmarks SelectPropFit.

  4. "ProportionalM" benchmarks SelectPropFitM.

  5. "PropFitDiffOnln" benchmarks SelectPropFitDiffOnln.

  6. "PropFitDiff" benchmarks SelectPropFitDiff.

  7. "PropFitDiffM" benchmarks SelectPropFitDiffM.

  8. "Tournament" benchmarks SelectTournament.

  9. "Duel" benchmarks SelectDuel.

  10. "LinearRank" benchmarks SelectLinearRank.

  11. "SUS" benchmarks SelectSUS.

limit

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 time of last column.

Warning

The time to run the function for lim>6 explodes for all benchmark functions with higher than linear complexity. (e.g. PropFit, PropFitdiff, and Tournament).

See Also

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

Examples

runOneBenchmark("Duel", 5, both=FALSE)
runOneBenchmark("PropFitDiffOnln")

[Package xegaSelectGene version 1.0.0.0 Index]