Create a mixture of genotypes with simulated drop-in and dropout
generateMix.Rd
Takes as input genotypes and creates a mixture. Alleles drop in and out of the mixture with the specified probabilities
Arguments
- 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)