getStatesFromPhenTree | R Documentation |
Returns a list of states in node order from a phenotype tree
getStatesFromPhenTree(phenTree, root_state, tipvals)
phenTree |
The phenotype tree returned by char2TreeCategorical |
root_state |
The state of the root node, this is not stored along the edge lengths of the tree |
tipvals |
The states of the tips of the tree in order of phenTree$tip.label |
Returns a vector of the category states of species in order of the nodes in the tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.