13.21 The .eda settings file
Generate the installed annotated template instead of copying an old project:
nlmx eda --print-config analysis.eda
Use it with nlmx eda -c analysis.eda. Relative paths resolve against the configuration file's folder; command-line values override corresponding file values.
Complete section map
| Section | Purpose |
|---|---|
[data] |
file, core column names, filters, mutation, groups, LLOQ/BLQ, log DV |
[columns] |
TAD, nominal time, DVID, row-specific LLOQ |
[covariates] |
include/exclude, categorical/continuous, time-varying |
[eda] |
colour/strata, DVID roles, axes, summaries, exposure, selections, caps, digits |
[units] |
time, concentration, dose labels |
[output] |
directory, HTML/JSON/CSV, report page cap |
[plots] |
enablement, dimensions, units, DPI, font, format, title, legend |
[[plot]] |
any number of custom plot specifications |
[[table]] |
any number of custom table specifications |
Configuration-only EDA controls include LOESS span, time bins, first/all exposure interval, dose normalization, individual page cap, maximum spaghetti lines/categories, skipped tables, numeric digits, and custom blocks.
A maintainable file
Keep reviewed deviations and analysis intent, not every default copied without thought. Comments should explain why exposure was enabled, why a covariate type was forced, or why a plot was skipped. Each custom plot/table name must be unique. Unknown keys fail because the parser denies unrecognized fields—use this as protection against typos.
For handoff, run once from the file with minimal CLI overrides and inspect eda_summary.json. The resolved settings there are the effective analysis contract. If they differ from the reviewed .eda, identify the CLI override or default responsible instead of editing outputs after generation.
Common mistakes
- Using
.tomlinstead of the command's.edaextension. - Copying defaults from another nlmx version without regenerating.
- Specifying units as if they convert data.
- Hiding consequential filters or transformations in an untracked file.
Checklist
- Generate from the executable used for analysis.
- Review every nondefault setting and path.
- Version the file with the data/model evidence.
- Confirm effective settings in JSON.
- Diff templates during upgrades.
Further reading
See configuration precedence, command index, and the worked settings file.