h_cor {Rhh}R Documentation

Heterozygosity-Heterozygosity Correlation

Description

Read genotype data from a file and get a sample of heterozygosity-heterozygosity correlations

Usage

h_cor(input, na.string, n, method)

Arguments

input Path and name of the tab or space delimited input file
na.string String denoting missing values in the input file
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 is automatically checked for problems with chkdata when this function is used.

See Also

hh


[Package Rhh version 1.0 Index]