Description Usage Arguments Value Author(s) Examples
Takes as input genotypes and creates a mixture. Alleles drop in and out of the mixture with the specified probabilities
1 | generateMix(G, alleles, afreq, D, di)
|
G |
List of genotypes. Each element is a vector with genotype for one individual |
alleles |
Numeric or character Vector of allele names for the marker |
afreq |
Numeric vector of allele frequencies for the marker |
D |
List of dropout values (between 0 and 1) per contributor. Each element is a vector containing heterozygous and homozygous dropout probability for the given contributor |
di |
Drop-in value (between 0 and 1) |
A vector of mixture alleles.
Guro Dorum
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.