Description Usage Arguments Value Author(s) References Examples
MLH is defined as the total number of heterozygous loci in an individual divided by the number of loci typed in the focal individual. An MLH of 0.5 thus means that 50 percent of an indiviudals loci are heterozygous.
1 | MLH(genotypes)
|
genotypes |
data.frame with individuals in rows and loci in columns, containing genotypes coded as 0 (homozygote), 1 (heterozygote) and NA (missing) |
Vector of individual multilocus heterozygosities
Martin A. Stoffel (martin.adam.stoffel@gmail.com)
Coltman, D. W., Pilkington, J. G., Smith, J. A., & Pemberton, J. M. (1999). Parasite-mediated selection against inbred Soay sheep in a free-living, island population. Evolution, 1259-1267.
1 2 3 | data(mouse_msats)
genotypes <- convert_raw(mouse_msats)
het <- MLH(genotypes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.