hap_err_sim | R Documentation |
Noisy estimated haplotype frequencies are simulated assuming multinomial distribution with some sample size.
hap_err_sim(freq, samsize)
freq |
Numeric matrix, with each i,j element being the frequency of haplotype i at sequenced time point j. |
samsize |
Numeric vector or numeric. If numeric vector, a samplesize vector the same length as the ncol(freq). If numeric, the mean sample size, a poisson distribution will be used to determine the samplesize at different timepoints. |
A list, with the first item being the noisy frequency matrix, the second item the samplesize matrix.
haplotest()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.