hh {Rhh}R Documentation

Heterozygosity-Heterozygosity Correlation

Description

Get a sample of heterozygosity-heterozygosity correlations

Usage

hh(genotypes, n, method)

Arguments

genotypes An array with each row representing an individual and every two columns representing genotype data for two alleles in a loci
n Number of randomizations
method Multilocus heterozygosity measure to use: "hl" for homozygosity by loci, "ir" for internal relatedness and "sh" for stardardized heterozygosity

Value

Returns an array of heterozygosity-heterozygosity correlations computed by randomly dividing the markers into two groups and calculating the chosen estimate of individual multilocus heterozygosity for the two set of loci.

Note

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

See Also

chkdata, hl, ir, sh, mlh and h_cor


[Package Rhh version 1.0 Index]