Description Usage Arguments Value Examples
returns a phylogenetic tree painted for ouwie and data
1 |
phy |
a phylogenetic tree of class phylo (ape) |
clades: |
a list of clades defined by species pairs, e.g. list(c(sp1, sp2), c(sp3, sp4)), or just a vector c(sp1, sp2) the descendents of the MRCA of sp1 and sp2 define the regime later clades are painted over earlier ones, so should be in order of nesting or otherwise non-overlapping. |
data |
the data.frame of characters (see data in ?treedata) |
show_plot |
logical, should I plot the resulting tree |
a list with the phy, updated to have regimes at node labels (for OUwie) and the data matrix formatted with regimes, for OUwie, and a list of colors corresponding to edges, that can be used for plotting.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.