Documentation

11.5 The .qcd settings file

A default run is useful for orientation. A reviewed analysis should use a .qcd file that records study-specific columns, units, thresholds and outputs.

Generate an annotated template:

nlmx qc-data --print-config nlmx.qcd

Then run it with:

nlmx qc-data -c nlmx.qcd -o results/pk-qc-r01

Relative paths inside the settings file resolve against the settings file's folder. Command-line options override file values.

Important sections

Section What a beginner should define
[data] file, special column names, groups, LLOQ/BLQ, filters
[columns] optional TAD, nominal time, DVID and row-specific LLOQ
[file] / [header] delimiter, IGNORE rule and NM-TRAN limits
[values] text columns, missing markers and sentinel codes
[events] / [time] compartment, infusion and timing expectations
[dosing] / [observations] regimen and concentration rules
[subjects] / [covariates] completeness, ranges, levels and variability
[checks] / [severity] deliberate selection and governance
[output] / [figures] / [plots] retained evidence and presentation

Start small but explicit

At minimum, declare the dataset, any nonstandard column names, grouping variables, the assay LLOQ/BLQ flag, covariates and their scientific types. Copying the entire template unchanged creates the appearance of review without study-specific decisions.

The book's clean example declares ARM as a within-subject constant group, sets LLOQ to 0.1, identifies BLQ, and explicitly classifies WT/AGE as continuous and SEX as categorical.

Version control

Commit the .qcd file and review changes as scientific configuration. If a threshold changes, record why and which dataset versions are affected. Do not edit only the archived settings-used representation or generated summary.

Common mistakes

  • Renaming the file .toml even though nlmx uses .qcd as its command type.
  • Assuming CLI and file values are combined when the CLI actually overrides.
  • Leaving units and categorical levels implicit.
  • Copying a previous study's ranges without review.

Checklist

  • Generate the installed version's template.
  • Define columns, units, LLOQ, groups and covariates.
  • Review every nondefault threshold.
  • Version the .qcd beside the dataset specification.

Further reading

See settings precedence, command extensions and column/filter configuration.