ir {Rhh} | R Documentation |
Calculate internal relatedness.
ir(genotypes)
genotypes |
An array with each row representing an individual and every two columns representing genotype data for two alleles in a loci. |
Calculates internal relatedness, a multilocus heterozygosity measure developed by Amos et al. (2001), for each individual in the genotype data.
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
.
The genotype data should be checked for problems with chkdata
before this function is used.
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