findEdges | R Documentation |
An utility function to find the sister nodes/tips of a node/tip
findEdges(phy, node, ancestor = FALSE) getConnected(phy, x)
phy |
a phylo-class object from the |
node |
the index of the focal node |
ancestor |
logical, if FALSE (the default), the edges originating from the node are returned, otherwise, the edge leading to the node is returned. |
x |
the index of the focal node |
findEdges
returns the indices of the edges. Note that these indices are different from those of nodes/tips
getConnected
returns the indices of the connected nodes.
[getRoot][getAncestor][getNextDescendants][findSisters]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.