CPM Blog

PheWAS R Package

This package contains methods for performing PheWAS. Please contact PheWAS@vumc.org. 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".

PheWAS - phenome-wide association studies

PheWAS using ICD9 codes
 Our EMR-based PheWAS uses a custom-developed grouping of International Classification of Disease, 9th edition (ICD9) codes.  These grouping loosely follow the 3-digit (category) and section groupings defined with the ICD9 code system itself, but vary to include, for example, all hypertension codes (401-405) as one grouping.  Each custom PheWAS code group also has an associated control group that excludes other related conditions (e.g., a patient with Graves disease cannot be a control for thyroiditis).  

PheWAS - Phenome-Wide Association Studies

Methods to identify gene-disease associations primarily rely on clinical trials or observational cohorts and, more recently, Electronic Medical Record-linked DNA Biobanks.  At Vanderbilt, we have used an EMR-linked DNA biobank called BioVU to derive case and controls populations using data within the EMR to define clinical phenotypes.  Genetic data for these EMR-linked association studies are redeposited into BioVU for future EMR-linked studies.  This has opened the possibility of "reverse GWAS" or "Phenome-wide association studies" (PheWAS). 

SecTag -- Tagging Clinical Note Section Headers

Clinical notes are often divided into sections, or segments, such as "history of present illness" or "past medical history." These sections often have subsections as well, such as the "cardiovascular exam" section of the "physical exam." One can gain greater understanding of clinical notes by recognition of the section in which a concept lives. For instance, both a "past medical history" and the "family medical history" sections can contain a list of diseases, but the context decribes very different import to the patient about whom the note was written.