Skip to content
This repository has been archived by the owner. It is now read-only.
An R package for creating Q-Q and manhattan plots from GWAS results
R TeX
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Merge branch 'master' of https://github.com/timflutre/qqman into timf… Jun 27, 2018
data first package commit May 9, 2014
inst
man make annotatePval and annotateTop work with logp=FALSE Jun 25, 2018
misc use png instead of jpg May 10, 2018
tools move gif to tools to comply with CRAN pandoc policy Mar 15, 2017
vignettes updates to roxygen Mar 15, 2017
.Rbuildignore move paper to misc, no need to ignore Apr 25, 2018
.gitignore tracking .Rbuildignore Jul 25, 2014
DESCRIPTION updated news and bump version to 0.1.7 Jun 27, 2018
LICENSE first package commit May 9, 2014
NAMESPACE import stats to get rid of check note Apr 21, 2017
NEWS.md updated news and bump version to 0.1.7 Jun 27, 2018
README.md
cran-comments.md add cran comments Mar 15, 2017

README.md

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

CRAN_Status_Badge

DOI

qqman.gif

Citation

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

Turner, (2018). qqman: an R package for visualizing GWAS results using Q-Q and manhattan plots. Journal of Open Source Software, 3(25), 731, https://doi.org/10.21105/joss.00731

More details are found in the preprint:

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.packages("qqman")

Or install directly from github using devtools

library(devtools)
install_github("stephenturner/qqman")

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

library(devtools)
install_github("stephenturner/qqman", ref="dev")

Load the package each time you use it:

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

  • This release is substantially simplified for the sake of maintainability and creating an R package. The old code that allows confidence intervals on the Q-Q plot and allows more flexible annotation and highlighting is still available at the version 0.0.0 tag.
  • Special thanks to Dan Capurso and Tim Knutsen for useful contributions and bugfixes.
  • Thanks to all the blog commenters for pointing out bugs and other issues.
You can’t perform that action at this time.