qq {fastqq}R Documentation

Creates a Q-Q plot

Description

Creates a quantile-quantile plot from p-values from an association study, e.g. a genome wide association study (GWAS). We compare the data quantile with a theoretical quantile from a uniform distribution. This code is mostly adapted from the qqman package, but improved for speed. A graph with a hundred million points should only take a few seconds to generate.

Usage

qq(pvector, ...)

Arguments

pvector

A numeric vector of p-values.

...

Other arguments passed to plot()

Value

No return value, called for plotting side effects.

Examples

qq(stats::runif(1e6))

[Package fastqq version 0.1.3 Index]