create_node_matrix: Create node matrix used for tree walking functions

Description Usage Arguments Value Examples

View source: R/editTree.R

Description

Returns a matrix which tracks where recursive functions are in a tree structure. This is passed to most recursive functions in this package.

Usage

1

Arguments

tree

ape::phylo tree

Value

node matrix with one column for ancestors and another column for descendants

Examples

1
node_matrix <- create_node_matrix(tree)

ethanmoyer/ICCE documentation built on Aug. 25, 2020, 5:18 p.m.