View source: R/understandNode.R
understandNode | R Documentation |
Print out which taxa do and do not descend from a given node.
understandNode(tree, node)
tree |
A phylogeny in ape format. |
node |
A node number in the tree. |
This is a very simple function, with no accounting made for non-bifurcating trees or for if the user inputs a node without an ancestor in the tree.
#' @author Eliot Miller
Nothing. Results are printed to screen.
data(phy)
understandNode(phy, 102)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.