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

View source: R/tree_processing.R

tree_node_tipsR 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


datelife documentation built on July 10, 2023, 2:02 a.m.