A function to process the output from
hisse::MarginRecon. First we get model averaged rates for tips and nodes of the phylogeny. Then convert the tree from
phylo format into a
treedata class and assign the data.frame of mode-averaged rates to the
@data slot. We output the node and tip rates tables and the reformated tree object for downstream plotting with
An object produced by
A list with three components:
tree_data the phylogeny with associated data object with reconstructed ancestral, model-averaged node and tip states and rates
tip_rates/node_rates a tibble of reconstructed ancestral, model-averaged tip/node states and rates.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.