powered by
Return tree descending from id.
id
getSubtree(tree, id)
TreeMan object
TreeMan
node id
Returns a TreeMan, parallelizable. id must be an internal node.
getPrnt, addClade, https://github.com/DomBennett/treeman/wiki/get-methods
getPrnt
addClade
# NOT RUN { library(treeman) data(mammals) # get tree of apes ape_id <- getPrnt(mammals, ids=c('Homo_sapiens', 'Hylobates_concolor')) apes <- getSubtree(mammals, id=ape_id) summary(apes) # }
Run the code above in your browser using DataLab