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

View source: R/print.haplo.cc.q

print.haplo.ccR Documentation

Print a haplo.cc object

Description

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

Usage

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

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.

Value

Nothing is returned.

See Also

haplo.cc

Examples

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

haplo.stats documentation built on Jan. 22, 2023, 1:40 a.m.