simMarkov | R Documentation |
Simulates a character using an instanteous rate matrix, storing the states at nodes and at the tips of the tree.
simMarkov(phy, Q, root.freqs)
phy |
A phylogeny of class phylo. |
Q |
an instantaneous rate matrix. |
root.freqs |
A vector of root frequencies. |
This function will generate a character at tips and at interior nodes given a tree and Q matrix.
A two element list containing 'TipStates' and 'NodeStates'
James D. Boyko
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.