Run the analysis
python scripts/python/run_workflow.py data/synthetic results/syntheticThe script writes named tables and PNG figures into the selected output directory. It does not require a network connection when analyzing the bundled inputs.
Understand the primary decisions
Median alignment: calculate each sample median among coverage-eligible proteins, subtract its difference from the median of sample medians, and retain log2 units. This assumes most eligible proteins do not share a large directional change. The alternative run omits additional normalization.
Observed-value comparison: for each protein, calculate the numerator and denominator means, their difference, sample variances, Welch standard error, degrees of freedom and two-sided p-value. Proteins with insufficient observations or zero/invalid variance remain in the table with an explicit status.
Testing family: BH correction includes all 1,169 valid tests. A separate effect-size rule highlights |log2 difference| ≥ 1; this is an estimated-effect filter, not a formal test that the true effect exceeds one.
No imputation: absent measurements are not replaced for inference or visualization. PCA, correlations and the variable-protein heatmap instead use complete variable proteins; report that selection because it favors consistently observed proteins.
Expected summary
| Quantity | Expected value |
|---|---|
| Input protein groups | 1,200 |
| Tested groups | 1,169 |
| Untested groups | 31 |
| Adjusted p ≤ 0.05 | 196 |
| Also meeting effect cutoff | 178 |
These counts measure recovery in a simulation and do not guarantee real-study performance.
Recreate inputs only when needed
python scripts/python/prepare_synthetic.pyAfter changing inputs, rerun input checks, analysis and verification. Re-render Quarto to refresh the published figures.