View source: R/xegaDfReplicate.R
| xegaDfReplicationFactory | R Documentation |
xegaDfReplicationFactory() implements the selection
of a replication method.
Current support:
"DE" returns xegaDfReplicateGeneDE().
xegaDfReplicationFactory(method = "DE")
method |
A string specifying the replication function. |
A replication function for genes.
Other Configuration:
lFxegaDfGene,
xegaDfCrossoverFactory(),
xegaDfGeneMapFactory(),
xegaDfMutationFactory(),
xegaDfScaleFactorFactory()
pop10<-lapply(rep(0,10), function(x) xegaDfInitGene(lFxegaDfGene))
epop10<-lapply(pop10, lFxegaDfGene$EvalGene, lF=lFxegaDfGene)
fit10<-unlist(lapply(epop10, function(x) {x$fit}))
Replicate<-xegaDfReplicationFactory("DE")
newgenes2<-Replicate(pop10, fit10, lFxegaDfGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.