Description Usage Arguments Details Value See Also Examples
View source: R/make_dend_utility_functions.R
This function recursively partitions the SNVs in the window around the focal SNV.
1 | makePartition(hapmat, splitSNV)
|
hapmat |
A hapMat object with SNVs ordered according to ancestry. |
splitSNV |
The index of the SNV where the haplotype matrix from |
This function makes two clades based on splotSNV
. For each partition, update splitSNV
and use
it to define subclades. Then, continue recursive partitioning until each partition has only one haplotype,
or there are no more SNVs to consider.
A nested partition of haplotypes, implemented as a list of nodes, each with two child nodes.
makeDend
, newNode
, noVariation
1 |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.