Description Usage Arguments Value Note Author(s) Examples
This function calculates the Expected Heterozygosity (HET; called PIC in earlier versions and in the paper describing this package) of a set of genotypes.
1 |
data |
A matrix of genotypes, where each column is one individual, each row is one marker, and marker values are 1, 0, or -1, or NA, where 0 represents a heterozygous marker, and NA represents missing data. Note that this coding is different from the earlier PicCalc, which cannot handle heterozygous markers. All data in this matrix must be numeric. |
The mean Heterozygosity of all markers for the given set of genotypes.
The ability to recogize heterozygous markers was included in HET, resulting in a slightly different genotype coding scheme than the earlier PicCalc.
Ryan C. Graebner
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.