| xegaDfMutationFactory | R Documentation |
xegaDfMutationFactory() implements the selection
of one of the mutation functions in this
package by specifying a text string.
The selection fails ungracefully (produces
a runtime error), if the label does not match.
The functions are specified locally.
Current support:
"MutateGene" returns xegaDfMutateGeneDE().
To provide a working default for more than
one gene representation.
"MutateGeneDE" returns xegaDfMutateGeneDE().
xegaDfMutationFactory(method = "MutateGene")
method |
A string specifying the mutation function. |
A mutation function for genes.
Other Configuration:
lFxegaDfGene,
xegaDfCrossoverFactory(),
xegaDfGeneMapFactory(),
xegaDfReplicationFactory(),
xegaDfScaleFactorFactory()
Mutate<-xegaDfMutationFactory("MutateGene")
gene1<-xegaDfInitGene(lFxegaDfGene)
gene2<-xegaDfInitGene(lFxegaDfGene)
gene3<-xegaDfInitGene(lFxegaDfGene)
Mutate(gene1, gene2, gene3, lFxegaDfGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.