mlh {Rhh} | R Documentation |
Read genotype data from a file, calculate homozygosity by loci, internal relatedness and stardardized heterozygosity, and save the results to an output file.
mlh(input, output, na.string, n.digits)
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 |
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.
The genotype data is automatically checked for problems with chkdata
when this function is used.