fnFMutSel
- The FMutSel model
submodel : | RateMatrix (pass by const reference) |
Nucleotide mutation rate matrix. | |
fitnesses : | Real[] (pass by const reference) |
Scaled selection coefficients 2Ns for 61 codons. | |
omega : | RealPos (pass by const reference) |
The dN / dS rate ratio. |
er ~ dnDirichlet( v(1,1,1,1,1,1) )
nuc_pi ~ dnDirichlet( rep(2.0, 4) )
F ~ dnIID(61, dnNormal(0,1))
omega ~ dnUniform(0,1)
# The FMutSel model from Yang and Nielsen (2008)
Q1 := fnFMutSel(fnGTR(er, nuc_pi), F, omega)
# The same -- fMutSel = GTR(er,nuc_pi) + X3 + MutSel(F) + dNdS(omega)
Q2 := fndNdS(fnMutSel(F, fnX3(fnGTR(er, nuc_pi))), omega)