Node annotation(s)
Length of descending branch
descending nodes
Heigh above the root
ID of node if hybrid
Node id
Node label
Node parent
Root to tip distance for each tip
Produce a deep copy of the clade below this node
Gets ancestral nodes. Wraps _getAncestors
to handle concat types.
Checks if a node is a hybrid node
Check if a node is a Leaf
Returns true if this node is left of the argument on the tree. If one node is the direct ancestor of the other, the result is undefined.
Checks if a node is root
Checks if node only has one child
Ensure nodes with unique IDs have unique hashes.
The constructor of the
Node
class.