Package: prsladder Title: Polygenic Risk Scores and Time to Disease Progression Version: 2026.9.23 Authors@R: c( person("Brett", "Klamer", email = "code@brettklamer.com", role = c("cre", "aut", "cph")), person("Ying", "Wang", email = "ying.wang@osumc.edu", role = c("aut", "cph")) ) Description: Measures the association of one or more polygenic risk scores with time to a disease event among persons who have a first diagnosis. Fits a ladder of Cox proportional-hazards models over all subsets of the scores, compares nested models, predicts absolute risk at a horizon with delayed entry, and evaluates discrimination, calibration, and reclassification. With competing events, fits cause-specific hazard models and estimates the cumulative incidence. Draws risk curves with risk tables, hazard ratios across the ladder, and calibration and discrimination, and makes tables of risk by score group. Estimates standardized risk at score percentiles, risk ratios, case shares, and time lost by score group, and net benefit. Includes a simulator with known hazard ratios. URL: https://brettklamer.com/work/prsladder/, https://bitbucket.org/bklamer/prsladder/ License: MIT + file LICENSE Depends: R (>= 4.5.0) Imports: ggplot2 (>= 4.0.0), parallel, patchwork (>= 1.3.0), Rdpack, splines, stats, survival (>= 3.8-4), utils Suggests: gtsummary (>= 2.6.1), knitr, rmarkdown, tinytest RdMacros: Rdpack Language: en-US VignetteBuilder: knitr Roxygen: list(markdown = TRUE) Encoding: UTF-8 Config/roxygen2/version: 8.1.1 Repository: https://bklamer.r-universe.dev Date/Publication: 2026-11-12 02:06:42 UTC RemoteUrl: https://bitbucket.org/bklamer/prsladder RemoteRef: HEAD RemoteSha: 8a3ab90edd531424f62473f2df6e4d988b1d53d0 NeedsCompilation: no Packaged: 2026-11-12 03:16:07 UTC; root Author: Brett Klamer [cre, aut, cph], Ying Wang [aut, cph] Maintainer: Brett Klamer