calculatePopAlleleFreq
calculates reference allele frequencies for each SNP given genotype data.
1 | calculatePopAlleleFreq(genotypes, moi)
|
genotypes |
An integer matrix of genotype data of the form -1, 0, 1 and 2 representing missing genotypes, homozygous reference,
heterozygous and homozygous alternative respectively. Each column of |
moi |
An integer vector of multiplicity of infection (MOI) estimates for each isoalte. Isolate MOI estimates should be ordered such that value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.