p.qqplot {ENmix} | R Documentation

## P value Q-Q plot

### Description

P value Q-Q plot with optional confidence interval

### Usage

           p.qqplot(pvalues,outf="qq",outfmt="jpg",draw.conf=TRUE,
              conf.col="lightgray",conf.alpha=.95,pch=20,col="black",reducesize=0)

### Arguments

`pvalues` | An numeric vector of P values
`outf` | figure file name, default "qq"
`outfmt` | Output figure file format, "jpg" or "eps"
`draw.conf` | Whether to draw confidence interval of expected P values under NULL hypothesis
`conf.col` | Color code of confidence interval
`conf.alpha` | Confidence interval range, 0.95 in default
`pch` | Point type code
`col` | Point color code
`reducesize` | A positive interger, larger the value, smaller the eps file size. Smaller file size is achieved by skipping some densely packed data points

### Details

P value Q-Q plot with optional confidence interval

### Author(s)

Zongli Xu

### Examples

    dat=simubed()
    p.qqplot(pvalues=dat$p,draw.conf=TRUE,outf="qq_try",outfmt="jpg")

[Package ENmix version 1.28.8 Index]