TL;DR
This paper introduces PheProb, a novel method for identifying disease phenotypes from electronic health records (EHRs) by assigning a probability of having a condition rather than relying on fixed thresholds of diagnosis codes. PheProb significantly improves the power of genetic association studies by better leveraging the nuances of EHR data, offering a more robust approach for large-scale genetic discovery.
What Problem Does This Paper Address?
Genomic studies often aim to link genetic variations to specific diseases or traits. Electronic Health Records (EHRs) are a rich source of patient data, including diagnosis codes, which can be used to identify individuals with a particular phenotype. However, a major challenge is that the presence of a diagnosis code doesn't perfectly equate to having the disease. Standard methods for phenotyping in EHRs typically involve setting a threshold (e.g., requiring at least 2 diagnosis codes) to define a "case." This approach can be problematic: too low a threshold leads to many false positives (individuals with codes but not the disease), reducing statistical power, while too high a threshold can exclude true cases, especially for less common conditions. This variability in code accuracy and the arbitrary nature of thresholds limit the power of genetic association studies, particularly in large-scale "phenome-wide association studies" (PheWAS) where thousands of phenotypes are screened.
Methods
The core innovation is the PheProb approach, which moves away from binary case/control definitions based on fixed thresholds. Instead, it uses an unsupervised clustering method to model the distribution of diagnosis codes.
Here's a breakdown:
- Unsupervised Clustering (Step 1): PheProb fits a mixture model to the counts of disease-specific billing codes. This model assumes two underlying latent classes: "likely cases" and "likely non-cases." Crucially, it also accounts for the total healthcare utilization (total number of billing codes) for each patient. This allows the model to differentiate between someone with a few disease codes among many total codes versus someone with the same few disease codes among very few total codes. The output of this step is a probability for each patient of belonging to the "likely case" cluster.
- Probabilistic Phenotype Assignment: Instead of a 0 or 1 for case/control, each patient receives a probability score (e.g., 0.75 probability of being a case). This score reflects the model's confidence based on their diagnosis code patterns and overall healthcare utilization.
- Genetic Association Testing (Step 2): This probability score is then used directly as the outcome variable in a logistic regression model when testing for association with a genetic marker (like a SNP). This approach preserves information about classification uncertainty, unlike a hard threshold.
The authors also compared PheProb against standard thresholding methods (requiring ≥1, ≥2, or ≥3 diagnosis codes) and, for benchmarking, against using the "true" disease status if it were known.
Datasets
The study utilized two main types of data:
- Simulated EHR Data: Used to initially develop and test the PheProb method. This simulated data allowed for direct comparison against known "true" disease status, enabling rigorous evaluation of PheProb's performance relative to thresholding methods under controlled conditions.
- Real-World EHR Cohorts:
- Hyperlipidemia Study: A cohort of 1462 subjects from a previous EHR genetic study of lipids. This dataset was used to test the association between a genetic risk score for LDL-C and hyperlipidemia (identified by ICD-9 codes 272.x).
- Rheumatoid Arthritis (RA) Study: A subset of 546 patients from the Partners Healthcare Biobank with gold-standard RA labels obtained through manual chart review. This dataset was used for validation and to compare accuracy metrics (precision, recall, etc.) between PheProb and standard thresholding.
Key Insights and Ideas
- Moving Beyond Binary: The most significant insight is that treating phenotype identification as a probabilistic problem, rather than a binary classification one, can substantially improve statistical power in genetic association studies.
- Leveraging All Information: PheProb's strength lies in its ability to use the entire distribution of diagnosis code counts and normalize it by overall healthcare utilization, rather than relying on arbitrary cutoffs. This captures more subtle signals.
- Data-Driven Phenotyping: The unsupervised clustering aspect means the method adapts to the specific patterns of diagnosis codes for each phenotype and institution, making it more robust than fixed thresholds that might not generalize well.
- Improved Accuracy in Validation: In the RA validation study, PheProb demonstrated better precision (higher proportion of identified cases were true cases) and recall (captured more true cases) compared to a standard thresholding method, even when PheProb's probabilities were dichotomized at its mean.
Key Results
- Hyperlipidemia Study: Standard thresholding methods yielded non-significant p-values (0.126, 0.123, 0.142) for the association between the LDL-C genetic risk score and hyperlipidemia. PheProb, however, detected a highly significant association (p = 0.001).
- Simulated Data: PheProb consistently outperformed standard thresholding methods (S1, S2, S3) in terms of statistical power across various disease prevalence and genetic signal strengths. While not as powerful as using the "true" disease status, the difference was modest.
- RA Validation: PheProb showed a higher precision/PPV (0.74 vs. 0.40 for S2) and a better F1 score (0.83 vs. 0.57) compared to the S2 thresholding method, indicating more accurate case-control identification. It also had a lower false positive rate (FPR) (0.01 vs. 0.06).
Limitations and Future Work
- Disentangling Contributions: The authors acknowledge that it's difficult to isolate the exact contribution of each component of PheProb (e.g., probabilistic outcome vs. accounting for healthcare utilization) to the overall power improvement.
- Covariate Handling: While the current model assumes genotype is independent of covariates like age and gender, future work could explore more robust models that relax this assumption.
- Inter-Institutional Variability: The performance of EHR-based phenotyping methods can vary significantly across different institutions due to variations in EHR systems and data usage. PheProb's adaptive nature is promising, but further evaluation of its robustness across diverse healthcare systems is needed.
- Scalability for PheWAS: The method is designed for high-throughput phenotyping in large-scale studies like PheWAS, where creating individual, highly accurate algorithms for each phenotype is infeasible. While it can serve as a starting point for detailed studies, it wasn't specifically designed for that level of in-depth analysis.
Summary updated