ape (version 1.7)

node.sons: Get the list of Sons for a Node

Description

Get all tags of son nodes from a given parent node.

Usage

node.sons(phy, node)

Arguments

phy
An object of class phylo representing the tree to parse.
node
A string giving the node index.

Value

  • A vector of strings with the names of all son nodes. If node is a leaf or node a valid node name, a void vector is returned.

See Also

node.depth, node.leafnumber