ir {Rhh}R Documentation

Internal Relatedness

Description

Calculate internal relatedness.

Usage

ir(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 internal relatedness, a multilocus heterozygosity measure developed by Amos et al. (2001), for each individual in the genotype data.

Value

An array with internal relatedness 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

Amos W, Worthington Wilmer J, Fullard K et al (2001) The influence of parental relatedness on reproductive success. Proc R Soc Lond B 268:2021-2027

See Also

hl, sh, chkdata and mlh


[Package Rhh version 1.0 Index]