Rhh-package {Rhh} | R Documentation |
Rhh is a free, open source extension package for calculating multilocus heterozygosity measures and the heterozygosity-heterozygosity correlation in molecular ecological and evolutionary studies.
Estimates of individual multilocus heterozygosity have been used as proxy measures of inbreeding, but these estimates are expected to correlate only weakly with inbreeding coefficients calculated from the pedigree. Therefore, an inbreeding signal of a set of microsatellite markers should be tested before using multilocus heterozygosity measures in studies of inbreeding. This can be done by calculating the heterozygosity-heterozygosity correlation - i.e. repeatedly and randomly dividing the loci into two groups, calculating an estimate of individual multilocus heterozygosity for the two set of loci, and obtaining the mean correlation between two groups, which should be significant and positive if an inbreeding signal is present.
Rhh includes functions to estimate heterozygosity-heterozygosity correlation and to calculate three estimates of individual multilocus heterozygosity: homozygosity by loci, internal relatedness, and standardized heterozygosity.
The package includes seven functions: chkdata
to check data for problems; hl
, ir
and sh
to calculate estimates of multilocus heterozygosity; hh
to get a sample of
heterozygosity-heterozygosity correlations; mlh
to read data from a text file, calculate all three estimates of
multilocus heterozygosity and save them to an output file; and h_cor
to read data from a text file and to get a
sample of heterozygosity-heterozygosity correlations.
Jussi Alho, Kaisa Välimäki
Maintainer: Jussi Alho firstname.lastname@helsinki.fi
http://www.helsinki.fi/biosci/egru/research/software
chkdata
, hl
, ir
, sh
, hh
, mlh
and h_cor