newNode: Create a list of child nodes

Description Usage Arguments See Also Examples

View source: R/make_dend_utility_functions.R

Description

This function creates a pair of child nodes for a parent node.

Usage

1
newNode(hapmat, child1 = NULL, child0 = NULL, depth = 0)

Arguments

hapmat

The hapMat object with columns ordered by ancestry.

child1

The child node from splitting on the mutant allele at the next SNV in the ordered neighborhood.

child0

The child node from splitting on the non-mutant allele at the next SNV in the ordered neighborhood.

See Also

makePartition

Examples

1


perfectphyloR documentation built on March 8, 2021, 9:06 a.m.