Description Usage Arguments Value Examples
This counts the number of times each allele occurs at a locus from a list of genotypes (the sum of all the counts is 2*number of individuals).
1 | allele.counts(genotypes)
|
genotypes |
A list of genotypes. |
AlleleCounts |
The number of times each allele is recorded at the locus. |
1 2 3 | #create a random sample of genotypes
genotypes<-sample(c("0101","0102","0202"),50,replace=TRUE)
counts<-allele.counts(genotypes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.