node.sons {ape}R Documentation

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.

Author(s)

Julien Dutheil julien.dutheil@univ-montp2.fr

See Also

node.depth, node.leafnumber


[Package ape version 1.7 Index]