inherit_parental_state: Inherit parental states to ambiguous nodes

Description Usage Arguments Value Examples

View source: R/reconstructTree.R

Description

This function will recursively walk through a given tree and assigns parental states to ambiguous children nodes

Usage

1
inherit_parental_state(root, node_matrix, i)

Arguments

root

root of non-proper subtree

node_matrix

matrix obtained from create_node_matrix function

i

row in node matrix, start at 1

Value

None

Examples

1
inherit_parental_state(get_root(tree), node_matrix, 1)

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