fndNdS
- Add a dN/dS factor to a codon rate matrix.
submodel : | RateMatrix (pass by const reference) |
Singlet (i.e. nucleotide) rate matrix. | |
omega : | RealPos (pass by const reference) |
The dN / dS rate ratio. |
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 := fndNdS(fnX3(fnGTR(er, nuc_pi)), omega) # GTR + X3 + dNdS