# nlmx forest-plot settings (plain text, TOML syntax, .forest extension) # # Every key is optional; the values shown are the defaults. Command-line # options override the file. Relative paths resolve against this file's # folder. Use it with: nlmx forest -c nlmx.forest # # The plot shows, for every parameter, the ratio of its typical value at # covariate values of interest to its typical value at the reference # covariates (the median, or the most frequent level), computed from the # model's own code. Confidence intervals come from parameter uncertainty: # draws from the .cov matrix, or the rows of a bootstrap/SIR parameter file. [inputs] # control_stream = "run102.ctl" # or give it on the command line (required) # results_dir = "run102_fit" # folder with the estimation outputs (.ext, .cov) # ext = "run102.ext" # final estimates (default: results_dir, then # # .ext beside the control stream, then _fit/) # cov = "run102.cov" # covariance matrix (default: beside the estimates) # data = "../data/analysis.csv" # default: $DATA of the control stream # parameter_file = "bootstrap.csv" # parameter sets (THETA1.., OMEGA(1,1)..) instead of the .cov [forest] parameters = [] # --parameters CL,V: default every parameter whose code uses a covariate covariates = [] # --forest-covariates WT,SEX: default every covariate the model uses quantiles = [5, 95] # --quantiles: percentiles shown for a continuous covariate max_categories = 5 # a covariate with at most this many whole-number values is categorical uncertainty = "auto" # auto (.cov or parameter_file when found) | cov | file | none (--no-uncertainty) samples = 1000 # --samples: parameter draws for the confidence intervals ci = 90 # --ci: confidence level (%) seed = 20240611 # --seed max_attempts = 100 # redraws when a draw leaves the THETA bounds show_bsv = true # --no-bsv: rows with the between-subject variability of each parameter bsv_pi = 90 # share (%) of subjects the BSV row covers inverse = [] # --inverse CL: show 1/P too (exposure, e.g. AUC ~ 1/CL) show_reference = false # a row for the reference subject (ratio 1) [reference] # reference covariate values (default: median / most frequent level) # WT = 70 [values] # explicit values instead of the quantiles (--covariate-values WT=50,90) # WT = [50, 90] # EGFR = [30, 60, 90] [labels] # covariate labels (--covariate-labels "WT=Body weight (kg)") # WT = "Body weight (kg)" [level_labels] # labels of categorical levels (--level-labels "SEX=0:Male,1:Female") # SEX = { 0 = "Male", 1 = "Female" } [parameter_labels] # parameter names on the plot # CL = "Clearance (L/h)" # Combinations of covariate values (--scenario "Elderly woman:AGE=80,SEX=1"): # [[scenarios]] # name = "Elderly woman, 50 kg" # values = { AGE = 80, SEX = 1, WT = 50 } [exposure] # Steady-state exposure rows: Cmax,ss, Cmin,ss, Ctrough,ss, AUCtau,ss and # Cavg,ss (= AUCtau/tau), each as a section of the plot. "posthoc" computes # every subject's exposure from their individual (post hoc) parameters at # steady state and compares the geometric means of covariate subgroups; # "typical" simulates the typical subject at the covariate values of the # parameter rows (confidence intervals from the parameter draws). metrics = [] # --exposure cmax,ctrough,auc,cavg (or "all"); empty = no exposure rows source = "posthoc" # --exposure-source: posthoc | typical regimen = "common" # --ss-regimen: common (the most frequent regimen, for every subject, so # subgroups are compared at the same dose) | own (each subject's last dose) # dose = 100 # --ss-dose: dose per administration (overrides the regimen's dose) # interval = 24 # --ss-interval: dosing interval tau, h (default: each subject's II) # infusion = 1 # --ss-infusion: infusion duration, h (default: as in the data; 0 = bolus) # cmt = 1 # --ss-cmt: dosing compartment (default: as in the data) bins = [25, 75] # --exposure-bins: percentiles splitting a continuous covariate (posthoc) reference = "group" # --exposure-reference: group (the subgroup holding the median or # most frequent level) | all (all subjects) only = false # --exposure-only: exposure rows only, no parameter rows # phi = "run102.phi" # --phi: individual ETAs (default: .phi beside the estimates; # otherwise the conditional modes are estimated) grid = 240 # time points per dosing interval [plot] layout = "stacked" # --layout: stacked (parameters one above the other) | side (side by side) x_scale = "log" # --x-scale: log | linear # x_limits = [0.5, 2] # --x-limits 0.5,2 (default: from the intervals) band = [0.8, 1.25] # --reference-band 0.8,1.25: the no-relevant-effect band show_band = true # --no-band show_values = true # --no-values: the "1.12 [0.98, 1.27]" column # title = "Covariate effects on PK parameters" # x_title = "Ratio to the reference (90% CI)" # --x-title legend_position = "bottom" # --legend-position: bottom | top caption = true # --no-caption: grey caption (uncertainty source, subjects, date) [output] # directory = "run102_forest" # default: /_forest html = true # forest_report.html svg = true # svg/forest.svg (and plots/svg/ for --plot-format svg|both) write_draws = false # forest_draws.csv: every draw's ratios (--write-sims) [plots] # Publication figure plots/forest.png (any --plot-* option turns it on). enabled = false # --plots width = 7 # --plot-width, in `units` # height = 6 # --plot-height (default: grows with the number of rows) units = "in" # --plot-units: in | cm | mm | px dpi = 300 # --plot-dpi base_size = 11 # --plot-base-size format = "png" # --plot-format: png | svg | both title = true # --plot-no-title legend = true # --plot-no-legend [plots.colors] # --plot-colors point=black,ci=#2A78D6 (any #RRGGBB, #RGB or name) point = "#000000" # point estimates ci = "#2A78D6" # confidence intervals band = "#BDBDBD" # reference band reference = "#4D4D4D" # line at ratio 1 bsv = "#EB6834" # between-subject-variability bars