Description Usage Arguments Value Author(s) See Also Examples
Get the omega scaling factor.
The rate matrix of the GY94
model is scaled in a way that the expected number
of potential substiutions per site is equal to one at equlibrium.
The codeml program from the PAML package scales the rate matrix in order to have
the expected number of accepted substiutions per site equal to one.
This method calculates the branch length multiplier needed for switching to PAML-style scaling given a fixed omega.
1 2 | ## S3 method for class 'GY94'
getOmegaScalingFactor(this, omega, ...)
|
this |
A GY94 object. |
omega |
The value of omega. |
... |
Not used. |
A numeric vector of length one.
Botond Sipos, Gregory Jordan
For more information see GY94
.
1 2 3 4 5 | # construct a GY94 process object
p<-GY94(kappa=4)
# Calculate scaling factor for omega=2
getOmegaScalingFactor(p,omega=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.