mlh {Rhh}R Documentation

Get Multilocus Heterozygosity Estimates

Description

Read genotype data from a file, calculate homozygosity by loci, internal relatedness and stardardized heterozygosity, and save the results to an output file.

Usage

mlh(input, output, na.string, n.digits)

Arguments

input Path and name of the tab or space delimited input file
output Path and name of the output file
na.string String denoting missing values in the input file
n.digits Number of decimal places to be used in the output file

Value

Returns a three-column array with individual estimates of homozygosity by loci, internal relatedness and stardardized heterozygosity. This data is also saved to the output file.

Note

The genotype data is automatically checked for problems with chkdata when this function is used.

See Also

hl, ir and sh


[Package Rhh version 1.0 Index]