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

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.