pqq {omics}R Documentation

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):

x

a vector of (sorted) expected p-values.

y

a vector of (sorted) observed p-values.

For pqq.ci, a matrix with the lower and upper bounds for the confidence interval at the given significance level.


[Package omics version 0.1-5 Index]