Skip to content

Commit c2aee09

Browse files
kstawiskiclaude
andcommitted
Add bias-audit module: cohort-provenance + method-ceiling diagnostics
Implements six new exports for circulating-miRNA biomarker QC: - os_bias_floor_auc: dataset-identity-only classifier AUC - os_covariate_only_auc: single-covariate classifier AUC (age, sex, storage) - os_per_feature_batch_signal: healthy-only ANOVA for batch confounding - os_clustered_bootstrap_auc: clustered CI respecting specimen duplicates - os_detect_cross_cohort_duplicates: cross-GSE OV-code crosswalk - os_bias_audit: top-level orchestrator with print.os_bias_audit method All six functions are generic enough for any omics dataset and do not depend on miRNA specifics. 14 testthat cases cover asymmetric cohort, age-confound, feature-batch-signal ranking, clustered-vs-naive bootstrap width, cross-cohort dup detection, and orchestrator integration. Motivated by the 2026-04-18 miRPOC OC meta-analysis, which showed that a cohort-identity classifier reaches AUC 0.72 on four public 3D-Gene consortium cohorts before any biomarker feature is used, and that matching cases and controls on institution and storage collapses the apparent 14-panel AUC from 0.95 to 0.74. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 90391d3 commit c2aee09

11 files changed

Lines changed: 1222 additions & 0 deletions

NAMESPACE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ S3method(print,OmicSelectorGoldStandard)
1414
S3method(print,OmicsInput)
1515
S3method(print,ReportData)
1616
S3method(print,SignatureSelectionResult)
17+
S3method(print,os_bias_audit)
1718
S3method(print,ws_perturbation_benchmark)
1819
export(BenchmarkService)
1920
export(CrossPlatformAdapter)
@@ -130,6 +131,12 @@ export(merge_omics_data)
130131
export(noise_augment)
131132
export(omic_benchmark)
132133
export(omic_pipeline)
134+
export(os_bias_audit)
135+
export(os_bias_floor_auc)
136+
export(os_clustered_bootstrap_auc)
137+
export(os_covariate_only_auc)
138+
export(os_detect_cross_cohort_duplicates)
139+
export(os_per_feature_batch_signal)
133140
export(partial_dependence)
134141
export(plot_signature_tradeoffs)
135142
export(plot_xai_importance)

NEWS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# OmicSelector 2.3.0
2+
3+
- Added bias-audit module (6 exported functions) for cohort-provenance and
4+
method-ceiling diagnostics.
5+
16
# OmicSelector 2.2.0
27

38
- Added the Paper 1 v2.2 within-sample biomarker panel methods: CLR transforms,

0 commit comments

Comments
 (0)