View source: R/xegaGeCodonPrecision.R
xegaGePrecisionFactory | R Documentation |
xegaGePrecisionFactory()
implements the selection
of one of the functions for computing the codon precision 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:
"Min" returns MinCodonPrecision
.
Shortest coding, but some choice bias.
"LCM" returns mLCMGCodonPrecision
. (Default)
"MaxPBias" returns CodonPrecisionWithThreshold
.
xegaGePrecisionFactory(method = "LCM")
method |
String specifying the GeneMap function. |
Precision of codon function.
Other Configuration:
xegaGeDecodeGeneFactory()
,
xegaGeGeneMapFactory()
CodonPrecision<-xegaGePrecisionFactory("Min")
NT<-sample(5, 50, replace=TRUE)
CodonPrecision(NT)
CodonPrecision<-xegaGePrecisionFactory("MaxPBias")
CodonPrecision(NT, 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.