getSubtree | R Documentation |
Return tree descending from id
.
getSubtree(tree, id)
tree |
|
id |
node id |
Returns a TreeMan
, parallelizable. id
must be an internal node.
getPrnt
, addClade
,
https://github.com/DomBennett/treeman/wiki/get-methods
data(mammals)
# get tree of apes
ape_id <- getPrnt(mammals, ids = c("Homo_sapiens", "Hylobates_concolor"))
apes <- getSubtree(mammals, id = ape_id)
summary(apes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.