Skip to main content

ROC Picker and KoMbine

ROC Picker logo

Welcome!

ROC Picker is a software package for propagating statistical and systematic uncertainties in a biomedical analysis using ROC curves.

KoMbine provides Kaplan-Meier curve analysis functionality with uncertainty propagation using likelihood-based methods.

Full documentation

For detailed information and examples, please see the documentation. The source is in the docs/ folder, and you can download the output (latest version from the main branch, compiled by Github Actions) from this link for KoMbine and from this link for ROC Picker.

Quick start

To install ROC Picker and KoMbine, clone the repository, enter its folder, and do

pip install .

Here is a simple ROC Picker example:

from roc_picker.discrete import DiscreteROC
responders = [1, 1, 2, 3, 9, 10]
nonresponders = [2, 3, 3, 4, 6, 8, 9, 10, 10, 10, 10, 11, 12, 13]
DiscreteROC(
  responders=responders,
  nonresponders=nonresponders,
).make_plots(
  npoints=100,
  yupperlim=20,
  #if you want to save the output plots
  filenames=("roc.pdf", "auc_scan.pdf", "roc_errors.pdf"),
  #if you're running in a jupyter notebook or similar, and want to see the plots
  show=True,
)

Here is a simple KoMbine example:

from kombine.datacard import Datacard
import pathlib

# Load a datacard with Kaplan-Meier data
datacardfile = pathlib.Path("test/kombine/datacards/simple_examples/simple_km_few_deaths.txt")
datacard = Datacard.parse_datacard(datacardfile)

# Create Kaplan-Meier likelihood curves for low and high parameter groups
kml_low = datacard.km_likelihood(parameter_min=-float('inf'), parameter_max=0.45)
kml_high = datacard.km_likelihood(parameter_min=0.45, parameter_max=float('inf'))

# Plot the results
kml_low.plot()
kml_high.plot()

Release files for kombinekm 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for kombinekm 2.1.0
File Interpreter ABI Platform
kombinekm-2.1.0-py3-none-any.whl Python 3 none any Details

Release files / kombinekm-2.1.0-py3-none-any.whl

Download URL kombinekm-2.1.0-py3-none-any.whl
Size 92.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46fc96b38f5331646065600341161d97bbb8068404d909297e01fc15ce035f1c
BLAKE2b-256 checksum
How to use checksums
097fe8bfd32609c5b71ba1b51d6d9436fa1ea114ac4402991501b2b2fb6b2a6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.1.0 This release

1 release file

2.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page