h_cor {Rhh} | R Documentation |
Read genotype data from a file and get a sample of heterozygosity-heterozygosity correlations
h_cor(input, na.string, n, method)
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 |
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.
The genotype data is automatically checked for problems with chkdata
when this function is used.