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.
Examples
Run this code# NOT RUN {
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab