PRS percentile
percentileEstimate the population percentile (0-100) for a polygenic risk score (PRS) using reference distributions or theoretical approximations.
Instructions
Estimate the population percentile (0-100) for a computed PRS value.
Uses the 3-tier fallback: precomputed reference-panel distributions
(best), then a theoretical distribution, then an AUROC approximation.
superpopulation is a 1000G code (AFR/AMR/EAS/EUR/SAS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prs_score | Yes | ||
| pgs_id | Yes | ||
| superpopulation | No | EUR | |
| panel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pgs_id | Yes | PGS Catalog Score ID. | |
| prs_score | Yes | The PRS value that was scored. | |
| percentile | No | Estimated percentile (0-100), or null if unavailable. | |
| method | Yes | 'reference_panel', 'theoretical', 'auroc_approx', or 'unavailable'. | |
| ancestry | Yes | 1000G superpopulation used (AFR/AMR/EAS/EUR/SAS). |