Abstract
Clinical laboratory (lab) tests are essential for diagnosing and monitoring disease, with results increasingly stored in electronic health records (EHRs) linked to patient DNA. However, the uneven quality of clinical lab data has historically limited genetic studies to a small number of traits. We present QualityLab and LabWAS, two methods designed to clean and analyze EHR labs at scale. In a proof-of-concept analysis focused on blood lipids and coronary artery disease (CAD), we found that heritability estimates of QualityLab-processed values were comparable to previous reports. Polygenic scores (PGS) for lipids were strongly associated with their referent labs, and a LabWAS for CAD risk recapitulated known heart disease biomarkers while identifying novel associations, such as white blood cell count. Our framework extends existing EHR analysis tools and significantly increases the volume of data usable for genetic discovery.
Introduction: Mining the "Lab-ome"
Electronic Health Records (EHRs) are a potential goldmine for precision medicine, yet clinical laboratory data is notoriously "noisy." Factors such as varying measurement units, data entry errors, and the masking effects of medications make it difficult to extract clear genetic signals. To overcome these challenges, we developed a systematic framework to look at the entire "lab-ome"—the full spectrum of clinical tests—to see how genetic risk for diseases like CAD manifests across various biological markers.
Methods
The QualityLab and LabWAS Framework
Our approach consists of two primary components:
- QualityLab Pipeline: A rigorous curation tool that filters biologically implausible outliers (using a 4-standard deviation threshold), standardizes units, and handles non-numeric values. Crucially, it uses Inverse Normal Quantile Transformation (INT) for statistical normalization and allows for the calculation of "pre-medication" baselines to avoid confounding by drug treatments.
- Lab-Wide Association Scan (LabWAS): Inspired by Phenome-Wide Association Scans (PheWAS), LabWAS reverses the typical genomic approach. Instead of examining how one genetic variant affects many diseases, it analyzes how a Polygenic Score (PGS)—a single metric of total genetic risk—associates across hundreds of different lab traits simultaneously.
Data and Validation
The study utilized BioVU, Vanderbilt University Medical Center’s de-identified DNA biobank, containing data from over 70,000 patients and 60 million lab observations. We used PRS-CS, a Bayesian method, to calculate polygenic scores and validated our findings against the Global Lipids Genetics Consortium (GLGC).
Key Insights
EHR Data as a Research-Grade Resource
A significant finding was that heritability estimates from cleaned EHR data were comparable to those from expensive, strictly controlled prospective cohorts. This suggests that the sheer volume of EHR data can overcome its inherent messiness. Of 481 cleaned lab traits, 278 showed significant heritability.
The "Medication Mask"
We observed that the genetic correlation for LDL cholesterol between our sample and external studies was initially near zero. The genetic signal only emerged after restricting the analysis to pre-medication values. This highlights a critical pitfall in EHR research: successful treatment can hide underlying biological associations if not properly accounted for.
Distinguishing Risk from Disease State
By adjusting models for clinical diagnoses, we could distinguish between biomarkers associated with the genetic risk of a disease (pleiotropy) versus those that are a consequence of the disease (comorbidity). For example, the CAD LabWAS identified white blood cell count as a genetically linked immune biomarker for CAD risk, even after adjusting for clinical diagnosis.
Discussion and Future Directions
The primary limitation of this study is ancestral bias, as most large-scale genetic studies have focused on populations of European ancestry. However, the QualityLab/LabWAS framework is ready to be applied to more diverse populations as genomic data expands. While the use of INT ensures statistical robustness, future work will focus on making these models more clinically interpretable by translating findings into absolute values.
Conclusion
The development of QualityLab and LabWAS provides a robust pipeline for transforming clinical data into a high-throughput discovery engine. By systematically scanning the lab-ome, researchers can uncover novel biomarkers and gain deeper insights into the genetic architecture of complex diseases.
Summary updated