predictSelectTime {xegaSelectGene} | R Documentation |
Predict the time use of a selection method for a popsize.
Description
Predict the time use of a selection method for a popsize.
Usage
predictSelectTime(df, method = "Uniform", popsize = 1e+05)
Arguments
df |
Data frame. |
method |
Selection method. |
popsize |
Population size. |
Value
List with
-
$model
: The result ofstats::lm
. -
$predict
: The result ofstats::predict
.
Warning
Uses a quadratic regression model. But the complexities of the functions are of orders O(1), O(n), O(n.ln(n)) and O(n^2).
See Also
Other Benchmark Selection Functions:
runOneBenchmark()
,
runSelectBenchmarks()
,
selectBenchmark()
,
testSelectGene()
Examples
popsizes<-as.integer(seq(from=100, to=200, length.out=5))
a<-runSelectBenchmarks(popsizes, both=TRUE)
b<-predictSelectTime(a, method="SUS", 155)
summary(b$model)
b$predicted
c<- predictSelectTime(a, method="SUS C", c(155, 500))
summary(c$model)
c$predicted
[Package xegaSelectGene version 1.0.0.0 Index]