Learn R Programming

haplo.stats (version 1.9.7)

print.haplo.cc: Print a haplo.cc object

Description

Display results for a haplotype analysis on a case-control study.

Usage

# S3 method for haplo.cc
print(x, order.by=c("score","haplotype","freq"), digits=max(options()$digits-2, 5),
    nlines=NULL, ...)

Value

Nothing is returned.

Arguments

x

A haplo.cc object, made by the haplo.cc function.

order.by

Order the printed data frame by the column: haplotype score (score), haplotype alleles (haplotype), or haplotype frequency (freq).

digits

Number of digits to display for the numeric columns of the data frame.

nlines

Print the first nlines of the cc.df data frame of the haplo.cc object, keeps output short if desired.

...

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

See Also

haplo.cc

Examples

Run this code
## for a haplo.cc object named cc.test, 
##    order results by haplotype 
# print.haplo.cc(cc.test, order.by="haplotype")

Run the code above in your browser using DataLab