match_data | R Documentation |
Get a tree and data, resolve to same set of taxa, and make a shared object
match_data(tree, data, warnings = FALSE)
tree |
a phylo object |
data |
A data.frame. Rownames are species names. |
warnings |
Complain about mismatches if TRUE. |
The function returns a list of two elements (phy and data) that are manipulated to include only those species found in both the tree and data supplied by the user. The class of the returned object is "phydo".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.