Skip to content

Update reporting#7

Merged
lagillenwater merged 9 commits into
mainfrom
update-reporting
Jun 29, 2026
Merged

Update reporting#7
lagillenwater merged 9 commits into
mainfrom
update-reporting

Conversation

@lagillenwater

Copy link
Copy Markdown
Owner

Updated the reporting to report the use of the tumor RNA-seq as the evaluator input. Also, Added scripts to score the adapters.

lagillenwater and others added 9 commits June 24, 2026 11:17
Make the generation axis a fair comparison rather than a Stack-only run:
- build_additive_deltas: each drug's mean real L1000 delta, applied to every
  organoid (organoid-independent) -- the generation analogue of the drug-mean floor.
- build_learned_deltas: PCA/NMF organoid-specific delta predictors (a linear
  baseline->delta-residual map fit on real L1000, applied to each organoid's
  baseline), between the additive floor and Stack.
- build_l1000_gdsc_pairs now also returns the per-cell-line DMSO baseline the
  learned predictors need.
- regret_norm_at_k: shared clinical regret@k metric.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
score_viability_adapters runs the full {delta source} x {readout adapter} grid
against Soragni viability with global/interaction/within-drug rho, regret@k, and
the within-drug permutation null. Sources: additive (always), PCA/NMF learned
predictors (when the Soragni baseline is present), and Stack-generated (when
--generated-dir is given, now optional). validate_bridge_readout updated for the
new build_l1000_gdsc_pairs return.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drop the encoder/probe (head-invariance) reporting -- it tested Stack only as a
frozen embedding extractor on off-distribution pseudo-cell input, not its native
mode. Reframe around the prompt->query generation axis: single-axis flowchart
(L1000 context + Soragni query -> Stack generation / additive / PCA-NMF -> readout
adapters -> metrics -> controls), data transformations, models, controls, regret,
and the Path-B result with numbers explicitly pending an Alpine run.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Switch every Soragni build_sample_design call (and the prep_stack_input /
benchmark_soragni --rna-source defaults) from organoid to tumor RNA, and update
the README to match. The drug-screen response (the y label) is unchanged --
screens are on organoids -- so the prediction becomes the clinically realistic
cross-substrate task: predict the organoid drug response from the patient tumor
transcriptome. Tumor RNA covers all 17 matched patients, so the cohort is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GDSC2/DepMap RNA-seq is no longer a model input (only GDSC2 AUC, as readout
training labels), so drop the GDSC2 cohort-composition panel and the GDSC2<->Soragni
shared-panel figure (transfer-axis leftovers). plot_data now emits: Soragni-only
cohort composition, response distributions (Soragni viability = target; GDSC2 AUC
relabeled as readout labels), the Soragni organoid x drug viability heatmap, and a
new L1000 drug-coverage figure (which Soragni drugs have a real L1000 perturbation).
README figure block updated to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GDSC2 AUC no longer earns a figure -- it's only readout training labels, not a raw
input worth plotting. The viability figure is now Soragni-only (the prediction
target). Replace the L1000 coverage plot with a printed text list (and a README
list): 18/26 Soragni drugs have an L1000 perturbation, so only those are scorable
on the generation axis.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lagillenwater
lagillenwater merged commit 73f55f4 into main Jun 29, 2026
1 check passed
@lagillenwater
lagillenwater deleted the update-reporting branch June 30, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant