Documentation

11.0 Complete qc-data command and option index

This page lists every command-line form and option that qc-data actually uses in the checked implementation. The shared nlmx --help also displays options for fitting, VPC, simulation and other commands; those unrelated flags are not part of qc-data merely because the global parser recognizes their names.

Command forms

Purpose Command
Check a dataset nlmx qc-data DATASET
Equivalent alias nlmx qc DATASET
Name the dataset explicitly nlmx qc-data --data DATASET
Run from settings nlmx qc-data -c FILE.qcd
Write an annotated template nlmx qc-data --print-config FILE.qcd
List all checks and exit nlmx qc-data --list-checks
Show command help nlmx qc-data --help

Input, output and execution

Option Value/default Effect
DATASET, --data FILE required by one input route Dataset; CLI overrides [data].file
-c, --config FILE.qcd none TOML settings file
-o, --output DIR <stem>_qc_data Output directory
--overwrite off Permit writes into a nonempty directory; does not clean stale files
--threads N available cores Worker count where parallel work applies; results are intended to be invariant
--filter EXPR none Keep rows satisfying an R-style expression
--obs-filter EXPR none Keep matching observations while retaining doses
--delimiter DELIM auto auto, comma, tab, space or semicolon
--nm-ignore OPTION @ Planned $DATA IGNORE: @, #, one character or none

Column mapping and data meaning

Option Meaning
--id-col, --time-col, --dv-col, --amt-col Override ID, TIME, DV and AMT names
--evid-col, --mdv-col, --cmt-col, --rate-col Override core event-item names
--addl-col, --ii-col, --ss-col Override repeated-dose item names
--group COLUMNS Comma-separated constant-within-subject grouping columns
--dv-log Declare that DV is natural-log concentration
--lloq VALUE Scalar lower limit of quantification
--blq-flag COLUMN Nonzero BLQ indicator; normally used with LLOQ
--tad-col COLUMN Time-after-dose column to verify
--nominal-time-col COLUMN Scheduled-time column to compare with TIME
--dvid-col COLUMN Observation-type column to summarize

The .qcd file additionally supports a row-specific LLOQ column through [columns].lloq_column; there is no corresponding CLI flag in the checked version.

Covariates

Option Effect
--covariates WT,AGE,SEX Plain list of covariate columns checked by qc-data
--categorical SEX,RACE Force listed covariates to categorical
--time-varying CRCL,ALT Declare changing covariates

For this command, --covariates takes a plain list. The PARAM=COVS form shown for covariate modeling commands is rejected by qc-data. Continuous declarations, ranges, allowed levels, missingness and other thresholds live in .qcd.

Check selection, evidence and pipeline policy

Option Effect
--skip-checks LIST Make selected IDs/categories N/A
--only-checks LIST Run only selected IDs/categories
`--fail-on never error
--flagged-data Write qc_flagged_data.csv with QC_FLAG
--list-checks Print ID, default severity and question, then exit

Severity overrides, finding caps and individual threshold values are configuration-only settings.

Figures

Option Value/default Effect
--no-plots off Disable standalone plot generation
--no-svg off Suppress SVG files; PNG and HTML remain
--no-caption off Remove gray plot captions
--plot-width W, --plot-height H 7 × 5 Physical dimensions
`--plot-units in cm mm
--plot-dpi DPI 300 PNG resolution
--plot-base-size PT 11 Base font size
`--plot-format png svg both`
--plot-colors NAME=COLOR,... defaults Semantic color overrides
--plot-no-title, --plot-no-legend off Suppress title or legend

Logging controls

--suppress-console 0|1, --log-file FILE, --no-color, repeated -v/--verbose, and -q/--quiet change the transcript, not the scientific checks. --license prints licensing information and exits.

What must be configured in .qcd

Many scientific controls intentionally have no individual CLI flag: header limits, sentinels, infusion-duration bounds, time gaps/tolerances, dose plausibility, BLQ/outlier thresholds, subject completeness, covariate ranges/levels/correlation, severity overrides, output-table switches and figure-family switches. They are documented in the settings page and the relevant check-family pages.

Common mistakes

  • Assuming every option printed by shared help affects qc-data.
  • Using --covariates CL=WT instead of a plain column list.
  • Expecting CLI flags for every scientific threshold.
  • Using --overwrite as if it removed stale files.

Checklist

  • Start with this index and the installed --help/--list-checks.
  • Put reviewed, persistent scientific choices in .qcd.
  • Use CLI overrides sparingly and retain the full command.
  • Recheck the inventory after upgrading nlmx.

Further reading

See your first run, settings, thresholds and output files.