qqman: An R package for creating Q-Q and manhattan plots from GWAS results.

Citation

If you'd like to cite qqman (appreciated but not required), please cite the pre-print below:

Turner, S.D. qqman: an R package for visualizing GWAS results using Q-Q and manhattan plots. biorXiv DOI: 10.1101/005165.

Installation

Install the stable release from CRAN:

# Install once
install.packages("qqman")

# Load each time you use it
library(qqman)

Install the most recent development release with devtools (note, there be dragons here):

# Install once with devtools
library(devtools)
install_github("stephenturner/qqman")

# Load
library(qqman)

Usage

See the online package vignette for more examples:

vignette("manhattan")

Take a look at the built-in data:

head(gwasResults)

Basic manhattan plot using built-in data:

manhattan(gwasResults)

Basic Q-Q plot using built-in data:

qq(gwasResults$P)

Get help:

?manhattan
?qq

Notes