PheWAS R Package

This package contains methods for performing PheWAS. Please contact if you encounter any errors or apparent bugs. The documentation is done natively in R. The command ?PheWAS once the package is loaded will direct you to the package description, including references to each function and an example. The command vignette("PheWAS-package") will display the package vignette with further "How to's". It can also be accessed online inside the github here.

If you would like to participate in development or report a bug, you can find the github repository at The newest information about the package is always available there!

There is one reliable method for installing the most up-to-date version of the package. Please use the devtools package you can download here by running the following in R:




To run the example code in R, one can use the R standard example function after loading the package: