PhenEx is a Python package for analysis-ready datasets from real-world data
Project description
PhenEx: Automatic PHENotype EXtractor
What is PhenEx?
PhenEx -- pronouned "Phoenix" -- is a cutting-edge cohort builder designed to simplify the extraction of analysis-ready datasets from raw real-world data as part of observational study execution. Using a meta-language closely aligned to plain English, PhenEx allows you to define and calculate index dates, inclusion and exclusion criteria, baseline characteristics, and outcome event tables based on arbitrarily complex criteria.
Questions you can answer using PhenEx include, but are not limited to:
- What is the incidence of diabetes among patients aged 50-70?
- How many patients with a history of stroke have also had a diagnosis of atrial fibrillation and prescribed anticoagulants?
- What are the common comorbidities observed in patients with hypertension?
- How do medication adherence rates compare between different patient demographics? 0 What proportion of patients who have been diagnosed with breast cancer receive genetic testing for BRCA1 and BRCA2 mutations?
- Among patients treated for acute myocardial infarction (AMI), how many have been re-admitted to the hospital within six months for heart-related issues? What is the incidence of diabetes among patients aged 50-70?
- How many patients with a diagnosis of rheumatoid arthritis have been prescribed at least three different disease-modifying antirheumatic drugs (DMARDs) over their treatment history?
Who is PhenEx for?
PhenEx is for anyone seeking to analyze real-world patient data, such as claims, electronic health records or disease registries.
- Pharmaceutical and Biotech Companies: Accelerate drug development and market access strategies. PhenEx helps you identify patient populations for clinical trials, analyze real-world treatment patterns, and assess the safety and efficacy of new therapies.
- Epidemiologists and Public Health Professionals: Conduct comprehensive epidemiological studies and public health surveillance. PhenEx enables you to define and extract complex phenotypes, track health outcomes, and respond to public health challenges effectively.
- Data Scientists and Analysts: Simplify the process of data extraction and cohort building. PhenEx provides powerful tools to transform raw data into structured, analysis-ready datasets, enabling you to focus on generating actionable insights.
Why should I use PhenEx?
-
PhenEx is free, open-source and interoperable with a large number of data warehouse backends. Regardless of where you host your data, you can use PhenEx to extract cohorts from it.
-
PhenEx is data format agnostic. Whether your data is in the OMOP Common Data Model or something else, PhenEx can handle it with only minimal compatibility transformations. The most common data formats are already built-in and understood by PhenEx.
-
PhenEx supports complex phenotypes. PhenEx covers not only basic use cases but also handles arbitrarily complex phenotypes (e.g. ISTH major bleeding, CHADSVASc). With PhenEx, you can define and extract intricate phenotypes, empowering you to tackle a wide range of research questions.
-
PhenEx is extensible. If your phenotype is not covered by the existing classes, you can easily create your own implementation using the provided abstract base classes. If you encounter a common pattern that is missing, simply open an issue, and we'll be delighted to consider it for inclusion in the core packages.
-
PhenEx is scalable. Whether you have a simple feasibility analysis or a full-blown research protocol with 20 inclusion criteria and 100 baseline characteristics, PhenEx can build your cohort.
What is PhenEx not?
-
PhenEx does not clean your data. Garbage-in-garbage-out, so please invest time in cleaning your data before attempting to perform observational research using it.
-
PhenEx does not perform outcome analysis, e.g., Kaplan-Meier estimation or Cox regressions. PhenEx only prepares the analysis dataset for downstream analysis. For outcome analysis in Python, the lifelines package is a good place to start; in R, the surv package is fairly popular.
I'm convinced! How can I get started?
Head on over to the Official PhenEx Documentation. If you have any questions, please feel free to reach out to any of the developers and we'll be happy to get you on your way.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file phenex-0.0.1.tar.gz
.
File metadata
- Download URL: phenex-0.0.1.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4d549cc7aae8c691e87274abe583860088cbef3a100e8591403723e677031a1 |
|
MD5 | 426d86544e8eeb00130c6940812f64ba |
|
BLAKE2b-256 | db932992580f0df171c43bcb8ec7a3f2f8e2fa68adb1539b592046aa7e6b5761 |
Provenance
The following attestation bundles were made for phenex-0.0.1.tar.gz
:
Publisher:
pypi.yml
on Bayer-Group/PhenEx
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
phenex-0.0.1.tar.gz
- Subject digest:
f4d549cc7aae8c691e87274abe583860088cbef3a100e8591403723e677031a1
- Sigstore transparency entry: 149068117
- Sigstore integration time:
- Predicate type:
File details
Details for the file phenex-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: phenex-0.0.1-py3-none-any.whl
- Upload date:
- Size: 40.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b4919057cf2c16690e8c64047efa4e31334b4d31ac8dee4ddd2585cf4f8264 |
|
MD5 | a7eef0e194a2cdf5e3f1e79bbad1d221 |
|
BLAKE2b-256 | 0600e0ae3b07a45a4aadd88ee3c24fce562676c578ed6a6d7044d3f191580e46 |
Provenance
The following attestation bundles were made for phenex-0.0.1-py3-none-any.whl
:
Publisher:
pypi.yml
on Bayer-Group/PhenEx
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
phenex-0.0.1-py3-none-any.whl
- Subject digest:
c0b4919057cf2c16690e8c64047efa4e31334b4d31ac8dee4ddd2585cf4f8264
- Sigstore transparency entry: 149068120
- Sigstore integration time:
- Predicate type: