Description Usage Arguments Details Value Examples
View source: R/PolyHaplotyper.R
calculate the total nr of possible haplotype combinations
1 | totHapcombCount(ploidy, nmrk)
|
ploidy |
a vector of 1 or more ploidy levels |
nmrk |
a vector of 1 or more numbers of markers per haploblock |
nmrk is used to calculate the total number of possible haplotypes = 2^nmrk. The shorter vector of ploidy and nmrk is recycled.
a vector with the number of possible haplotype combinations for each pair of ploidy and nmrk values
1 | totHapcombCount(ploidy=4, nmrk=c(1:8))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.