tree_node_tips {datelife}R Documentation

To get tip numbers descending from any given node of a tree

Description

To get tip numbers descending from any given node of a tree

Usage

tree_node_tips(tree = NULL, node = NULL, curr = NULL)

Arguments

tree

a phylogenetic tree as an object of class "phylo".

node

an integer specifying a node number in the tree.

curr

the set of previously stored node numbers - used in recursive function calls.

Value

A numeric vector with tip numbers descending from a node


[Package datelife version 0.6.8 Index]