Learn R Programming

haplo.stats (version 1.7.6)

print.haplo.cc: 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="score", 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 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

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