xegaGaGeneMapFactory {xegaGaGene} | R Documentation |
xegaGaGeneMapFactory
implements the selection
of one of the GeneMap 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:
"Bin2Dec" returns GeneMap
. (Default).
"Gray2Dec" returns GeneMapGray
.
"Identity" returns GeneMapIdentity
.
"Permutation" returns GeneMapPerm
.
xegaGaGeneMapFactory(method = "Bin2Dec")
method |
A string specifying the GeneMap function. |
A gene map function for genes.
Other Configuration:
lFxegaGaGene
,
xegaGaCrossoverFactory()
,
xegaGaMutationFactory()
,
xegaGaReplicationFactory()
XGene<-xegaGaGeneMapFactory("Identity")
gene1<-xegaGaInitGene(lFxegaGaGene)
XGene(gene1, lFxegaGaGene$penv)