inherit_parental_state: Inherit parental states to ambiguous nodes VALIDATED

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
2
inherit_parental_state(get_root(tree), node_matrix, 1)
... some visualization 

ethanmoyer/MethylConstruct documentation built on July 10, 2020, 12:28 a.m.