fnMutSel
- Add mutation-selection balance to a rate matrix.
submodel : | RateMatrix (pass by const reference) |
Mutation rate matrix. | |
fitnesses : | Real[] (pass by const reference) |
Fitnesses. |
er ~ dnDirichlet( v(1,1,1,1,1,1) )
nuc_pi ~ dnDirichlet( rep(2.0, 4) )
F ~ dnIID(61, dnNormal(0,1))
Q := fnMutSel(fnX3(fnGTR(er, nuc_pi) ), F) # GTR + X3 + MutSel
# A mutation-selection balance model on RNA, with GTR mutation.
F2 ~ dnIID(16, dnNormal(0,1))
Q2 := fnMutSel(fnX2(fnGTR(er,nuc_pi) ), F2) # GTR + X2 + MutSel