fnX3
- Construct a codon rate matrix from a nucleotide rate matrix.
submodel : | RateMatrix (pass by const reference) |
Nucleotide rate matrix. |
kappa ~ dnLognormal(0,1)
omega ~ dnUniform(0,1)
nuc_pi ~ dnDirichlet( rep(2.0, 4) )
Q1 := fnCodonMG94K( kappa, omega, nuc_pi )
# This is the same.
Q2 := fndNdS(fnX3(fnHKY(kappa, nuc_pi)), omega) # HKY + X3 + dNdS, or HKY*3 + dNdS
er ~ dnDirichlet( v(1,1,1,1,1,1) )
Q3 := fnX3(fnGTR(er, nuc_pi)) # GTR + X3, or GTR*3