Check the inputs
Run the checks
Rscript scripts/R/prepare_airway.R
Rscript scripts/R/run_workflow.R data/airway results/airway --check-onlyThe script stops if it finds duplicate or missing identifiers, noninteger/negative counts, mismatched sample names, or an unsupported design. It reorders metadata to match count columns before modelling. Expect eight samples, four cell lines and the design ~cell + dex.
Independent check: open the metadata and count the biological replicates in each condition. In airway, check that each cell appears once as untrt and once as trt. If a variable is confounded with condition, stop and revisit the design; no script can recover a comparison absent from the data.
If the command fails, read the first error message and correct the named file. Do not edit the source counts to manufacture replication or remove troublesome samples without documenting the reason.