Learn R Programming

omics (version 0.1-5)

pqq: Quantile-Quantile Plot for $p$-values

Description

Computes value to produce a quantile-quantile plot in $-log_10$ scale of the given $p$-values.

Usage

pqq(ps)
pqq.ci(n, level=0.95)

Arguments

ps
a (non-empty) numeric vector of $p$-values.
n
number of $p$-values.
level
significance level.

Value

For pqq, a list containing the following components (all in $-log_10$ scale):For pqq.ci, a matrix with the lower and upper bounds for the confidence interval at the given significance level.