Fix forward phosphosite ODE panel#68
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
pred_fc/simulate_and_measure()/pipeline exports.simulate_until_steady()for both WT and KO.Description
extract_phosphosite_states_from_Yto read phosphosite state trajectories directly from the ODE state arraysY_wt/Y_kousingidx.offset_y,idx.n_sites, andidx.sites, with optional safe t0 normalization._safe_min_maxhelper used by a small debug expander to report raw WT/KO and plotted WT/KO min/max values for the selected protein.Normalize forward phosphosite states to t0that controls only the 4th panel and sets the y-axis label to eitherRaw phosphosite ODE stateorPhosphosite ODE state normalized to t0.extract_phosphosite_states_from_Yand explicitly avoid usingwt_pho,ko_pho,pred_phospho_picked.csv,pred_fc, orsimulate_and_measure()for this panel, while keeping the first three forward panels (mRNA, protein, signalingS) and the Data Fit Inspector unchanged.scripts/compare_mechanisms.pywas modified; nonetworkmodel/modules were changed.Testing
python -m py_compile scripts/compare_mechanisms.pywhich succeeded.git diff --check/ basic repository checks which showed no whitespace or diff errors.Codex Task