Description
ATPTREF and ROUTE columns are not included in the cdisc_dataset$adpp output from export_cdisc(). These columns are available in the source data but are dropped during the ADPP dataset construction because they are not listed in CDISC_COLS$ADPP$Variable and are not part of grouping_vars.
Reported in #1228 (comment).
To reproduce
- Load a dataset that contains
ATPTREF and ROUTE columns
- Run NCA and call
export_cdisc() to generate CDISC datasets
- Inspect
cdisc_dataset$adpp — ATPTREF and ROUTE are missing
Expected behaviour
ATPTREF and ROUTE should be available in the adpp output, since they are used for ratio calculations (accumulation ratios, bioavailability) and are present in the source concentration/dose data.
Description
ATPTREFandROUTEcolumns are not included in thecdisc_dataset$adppoutput fromexport_cdisc(). These columns are available in the source data but are dropped during the ADPP dataset construction because they are not listed inCDISC_COLS$ADPP$Variableand are not part ofgrouping_vars.Reported in #1228 (comment).
To reproduce
ATPTREFandROUTEcolumnsexport_cdisc()to generate CDISC datasetscdisc_dataset$adpp—ATPTREFandROUTEare missingExpected behaviour
ATPTREFandROUTEshould be available in theadppoutput, since they are used for ratio calculations (accumulation ratios, bioavailability) and are present in the source concentration/dose data.