Documentation

15.0 Complete nca command and option index

This page lists the command forms and options consumed by nca in nlmx 4.5.0. The shared parser displays many unrelated modelling, fitting, and simulation flags; they do not change NCA simply because they appear in nlmx nca --help.

Four practical command modes

Command forms

Purpose Command
Smallest run nlmx nca data.csv
Explicit output nlmx nca data.csv -o results/nca
Settings-driven run nlmx nca -c analysis.nca
Positional data plus settings nlmx nca data.csv -c analysis.nca
Generate the complete template nlmx nca --print-config analysis.nca
Tables/report without publication plots nlmx nca data.csv --no-plots
Installed help nlmx nca --help

Dataset precedence is positional DATASET, then --data, then [data] file. Avoid conflicting routes even though precedence is deterministic.

Dataset and record controls

Option Default/meaning
DATASET, --data FILE Headered delimited input; one route is required.
--id-col, --time-col, --dv-col, --amt-col Core columns; defaults ID, TIME, DV, AMT.
--evid-col, --mdv-col, --cmt-col, --rate-col Event, missing-DV, compartment, and infusion-rate columns.
--addl-col, --ii-col, --ss-col Repeated-dose and steady-state columns.
--mutate ASSIGNMENTS Sequential R-style assignments before filters.
--filter EXPR Keep matching rows, doses and observations alike.
--obs-filter EXPR Filter observations while always preserving dose records.
--group COLUMNS Summary/comparison grouping columns.
--route ROUTE auto, oral, iv, bolus, infusion, or mixed.
--dv-log Interpret DV as natural-log concentration and exponentiate for NCA.
--lloq VALUE Numeric lower limit of quantification.
--blq-flag COLUMN Nonzero column identifying BLQ observations.

The help headings describe several of these as autoinit, screen, or VPC options; the NCA reader nevertheless consumes them.

NCA method controls

Option Values/default
--auc-method RULE linear, linear-log, linear-up-log-down (default).
--blq-rule RULE zero, missing, lloq, half-lloq, tmax-zero-missing (default), first-zero-mid-half-last-missing.
--lz-method METHOD best-fit (default), last-n, time-range, none.
--lz-min-points N Minimum best-fit points; default 3.
--lz-max-points N Maximum best-fit points; 0 means unlimited.
--min-r2 R2 Minimum adjusted R² for automatic lambda-z; default 0.7.
--max-extrap PCT Maximum extrapolated AUC percentage before action; default 20 for nca.
--partial-auc LIST Windows such as 0-4,0-12,4-12.
--c0-method METHOD IV bolus extrapolate (default), observed, or first.
--steady-state MODE auto (default), none, last, all.
--tau H Interval when II/data boundaries do not supply tau.
--nca-intervals WHICH all (default), first, last.
--min-observations N Fewest usable observations per profile; default 3.
--dose-factor X Multiplier applied to dose for clearance/volume.
--reference-group GROUP Reference label/value for geometric mean ratios.

Weighting, span enforcement, extrapolation flag|omit, last-n point count, time-range limits, zero-at-dose, subject overrides, duplicate policy, and most summary/comparison choices are configuration-only.

NCA figures and shared plot export

Option Meaning
--no-plots Do not write publication plot files; tables and report remain.
--no-individual-plots Keep other figures but omit individual panel pages.
--individual-rows, --individual-cols 1–20 panels in each page direction; defaults 4×4.
`--individual-yscale log linear`
--individual-terminal-points Ring selected terminal observations.
--individual-lines Join observations.
--plot-width, --plot-height, --plot-units Physical export size.
--plot-dpi, --plot-base-size PNG resolution and typography.
`--plot-format png svg
--plot-colors LIST Named color overrides.
--plot-no-title, --plot-no-legend, --no-caption Presentation controls.

Do not use shared --plots to enable NCA figures: NCA figures are already on by default. Shared --x-scale, --y-scale, and --log-y are not NCA analysis controls in the checked implementation.

Configuration, output, execution, and logging

-c/--config FILE.nca, -o/--output DIR, --overwrite, --threads N, and --print-config FILE.nca control the run. Logging controls are --suppress-console 0|1, its hidden shorthand --no-console, --log-file FILE, --no-color, repeated -v/--verbose, and -q/--quiet; --license prints licensing information and exits. Threads change execution parallelism, not retained results.

Common mistakes

  • Assuming every globally displayed flag affects nca.
  • Missing --min-r2 and --max-extrap because help labels them for autoinit.
  • Believing --no-plots also removes the HTML report.
  • Supplying unit labels with autoinit-only flags instead of [units].

Checklist

  • Generate the installed template for the exact executable.
  • Record all CLI overrides beside the .nca file.
  • Verify the dataset-path precedence.
  • Recheck this inventory after upgrading nlmx.

Further reading

See settings and precedence, analysis controls, and figure export.