sh {Rhh}R Documentation

Standardized Heterozygosity

Description

Calculate standardized heterozygosity.

Usage

sh(genotypes)

Arguments

genotypes An array with each row representing an individual and every two columns representing genotype data for two alleles in a loci.

Details

Calculates standardized heterozygosity, a multilocus heterozygosity measure developed by Coltman et al. (1999), for each individual in the genotype data.

Value

An array with standardized heterozygosity estimate for each individual. If the estimate could not be calculated for a given individual, the corresponding value is NaN.

Note

The genotype data should be checked for problems with chkdata before this function is used.

References

Coltman DW, Pilkington JG, Smith JA et al (1999) Parasite-mediated selection against inbred Soay sheep in a free-living island population. Evolution 53:1259-1267

See Also

hl, ir, chkdata and mlh


[Package Rhh version 1.0 Index]