Learn R Programming

perfectphyloR (version 0.2.1)

newNode: Create a list of child nodes

Description

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

Usage

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

Run this code
# NOT RUN {
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab