subset_tree | R Documentation |
Retrieves a sub-tree from the taxonomy tree.
subset_tree(leaf_tax_id, nodes.dmp)
leaf.tax.id |
a vector of tax_id (integers) of the branch leaf/leaves. |
nodes.dmp |
a nodes.dmp table. |
This function retrieves a sub-tree by starting at the vector of specified
leaf_tax_id
and collect all branches ending at these nodes. Thus, it will in general
not be a clade. If you want to subset an entire clade, see subset_clade
.
A subset of the table nodes.dmp
containing the tax_id's of the branches
ending at leaf_tax_id
.
Lars Snipen.
read_nodes_dmp
, subset_clade
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.