tip_descendants: Get all the tips that are descendants of a given node in a...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Get all the tips that are descendants of a given node in a tree.

Usage

1

Arguments

phy

A phylo object that specifies the tree.

a

The number of a node in phy.

Value

A vector of tip nodes (specified by number) that are descendants of a. If a is a tip, it is the sole element of this vector.


caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.