Description Usage Arguments Value
Extracts the parent node index for the given node. Returns -1 if the node is root. Return the index of the node directly above the given node. Returns -1 if the given node is root.
1  |   tree.parent.node(phylo, node)
 | 
phylo, | 
 input phylo object  | 
node, | 
 integer index of the node whose parent is desired  | 
integer, the index of the parent node or -1 if the given node is root.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.