qq: function to make Qantile-Qantile (QQ) plot for p-values

Description Usage Arguments Author(s) Examples

Description

qq function makes the QQ plot of p-values against a uniform (0,1) distribution. The genomic control parameter for one degree freedom chi-square statistics corresponding to the p-values is also plotted.

Usage

1
qq(pvalue, outfile)

Arguments

pvalue

P-values of interest.

outfile

the file name (xxxx.bmp) for output QQ plot in bitmap format

Author(s)

Qiong Yang <qyang@bu.edu> and Ming-Huei Chen <mhchen@bu.edu>

Examples

1
2
3
4
## Not run: 
qq(pvalue=result[,"pval"],outfile="QQ_test.bmp")

## End(Not run)

GWAF documentation built on May 2, 2019, 2:47 p.m.