Learn R Programming

haplo.stats (version 1.9.7)

print.haplo.score.merge: Print a haplo.score.merge object

Description

Method function to print a class of type haplo.score.merge

Usage

# S3 method for haplo.score.merge
print(x, order.by="score", all.haps=FALSE, 
                digits=max(options()$digits-2, 5), nlines=NULL, ...)

Value

Nothing is returned.

Arguments

x

The object returned from haplo.score.merge (which has old class {S} haplo.score.merge).

order.by

Column of the haplo.score.merge object by which to order the results

all.haps

Logical, if (T)rue prints a row for all haplotypes. If (F)alse, the default, only prints the haplotypes kept in haplo.score for modelling.

digits

Set the number of significant digits to print for the numeric output.

nlines

Print the first 'nlines' rows of the large data frame for a short view of the results.

...

Dynamic parameter for the values of additional parameters for the print method.

Details

This is a print method function used to print information from the haplo.score.merge class. Because haplo.score.merge is a class, the generic print function can be used, which in turn calls this print.haplo.score.merge 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.merge, haplo.score, haplo.group

Examples

Run this code
#see example for haplo.score.merge

Run the code above in your browser using DataLab