Skip to content

Labeling API Reference

The kreview.labels module implements the 5-tier ctDNA labeling engine.

For the biological rationale behind each label, see the ctDNA Labeling guide.


kreview.labels

CtDNALabeler

Assigns 5-tier ctDNA labels to ACCESS cfDNA samples.

True ctDNA+, Possible ctDNA+, Possible ctDNA−,

Healthy Normal, Insufficient Data.

compute_impact_match(eligible_ids, maf, clinical)

For each eligible ACCESS sample, check if any somatic variant (any VAF) also appears in the same patient's IMPACT tissue sample.

compute_snv_summary(eligible_ids, maf, min_vaf=0.01, min_variants=1)

Summarize somatic SNV status per eligible sample.

compute_sv_summary(eligible_ids, sv_df)

Summarize somatic SV status per eligible sample (binary presence/absence).

compute_cna_summary(eligible_ids, cna_df)

Summarize CNA status per eligible sample.