fnX2
- Construct a doublet (16x16) rate matrix from a nucleotide rate matrix.
submodel : | RateMatrix (pass by const reference) |
Nucleotide rate matrix. |
kappa ~ dnLognormal(0,1)
nuc_pi ~ dnDirichlet( rep(2.0, 4) )
# Mutation rate matrix on RNA stems
Q1 := fnX2( fnHKY(kappa, nuc_pi) )
F ~ dnIID(16, dnNormal(0,1))
# Add selection to the rate matrix
Q2 := fnMutSel(Q1, F)