Learn R Programming

haplo.stats (version 1.9.7)

print.haplo.group: Print a haplo.group object

Description

Method function to print a class of type haplo.group

Usage

# S3 method for haplo.group
print(x, digits=max(options()$digits-2, 5), nlines=NULL, ...)

Value

Nothing is returned.

Arguments

x

The object returned from haplo.group (which has old class haplo.group).

digits

Set the number of significant digits to print for haplotype probabilities.

nlines

For shorter output, print first 1:nlines rows of the large data frame

...

Optional arguments for the print method

Details

This is a print method function used to print information from the haplo.group class, with haplotype-specific information given in a table. Because haplo.group is a class, the generic print function can be used, which in turn calls this print.haplo.group function.

References

Schaid DJ, Rowland CM, Tines DE, Jacobson RM, Poland GA. Expected haplotype frequencies for association of traits with haplotypes when linkage phase is ambiguous. Submitted to Amer J Hum Genet.

See Also

haplo.score, haplo.group, haplo.em