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.
"Uniform" benchmarks SelectUniform .
"ProportionalOnln" benchmarks SelectPropFitOnln .
"Proportional" benchmarks SelectPropFit .
"ProportionalM" benchmarks SelectPropFitM .
"PropFitDiffOnln" benchmarks SelectPropFitDiffOnln .
"PropFitDiff" benchmarks SelectPropFitDiff .
"PropFitDiffM" benchmarks SelectPropFitDiffM .
"Tournament" benchmarks SelectTournament .
"Duel" benchmarks SelectDuel .
"LinearRank" benchmarks SelectLinearRank .
"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]