getFormatting
[Monolix - PKanalix] Get data formatting from a loaded project
Get data formatting settings from a loaded project.
It returns a list with the same items as the arguments of formatData
, where the header
items correspond to formatted headers if they have been changed by Data Formatting, and in addition:
originalHeaders
(character) - list of original names of the columns used for data formatting.
Usage
getFormatting()
See also
Examples
{
initializeLixoftConnectors(software = "pkanalix")
loadProject(paste0(getDemoPath(),"/0.data_formatting/DoseAndLOQ_manual.pkx"))
getFormatting()
}
#> $dataFile
#> [1] "C:/Users/FranoMihaljevic/lixoft/pkanalix/pkanalix2024R1/demos/0.data_formatting/data/units_multiple_BLQ_tags_data.csv"
#>
#> $sheet
#> [1] ""
#>
#> $headerLines
#> [1] 1 2
#>
#> $originalHeaders
#> $originalHeaders$id
#> [1] "ID" ""
#>
#> $originalHeaders$time
#> [1] "TIME" "h"
#>
#>
#> $headers
#> id time
#> 1 2
#>
#> $linesToExclude
#> list()
#>
#> $observationSettings
#> distinguishWithObsId duplicateInformation
#> TRUE TRUE
#>
#> $observations
#> $observations[[1]]
#> $observations[[1]]$censoring
#> $observations[[1]]$censoring[[1]]
#> $observations[[1]]$censoring[[1]]$limits
#> [1] 0.00 0.06
#>
#> $observations[[1]]$censoring[[1]]$tags
#> [1] "BLQ1"
#>
#> $observations[[1]]$censoring[[1]]$type
#> [1] "interval"
#>
#>
#> $observations[[1]]$censoring[[2]]
#> $observations[[1]]$censoring[[2]]$limits
#> [1] 0.0 0.1
#>
#> $observations[[1]]$censoring[[2]]$tags
#> [1] "BLQ2"
#>
#> $observations[[1]]$censoring[[2]]$type
#> [1] "interval"
#>
#>
#>
#> $observations[[1]]$header
#> [1] "CONC_mg_L"
#>
#>
#>
#> $treatmentSettings
#> doseIntervalsAsOccasions duplicateObservationsAtDoseTimes
#> FALSE FALSE
#>
#> $treatments
#> $treatments[[1]]
#> $treatments[[1]]$amount
#> [1] 600
#>
#> $treatments[[1]]$times
#> [1] 0
#>
#>
#>
#> $additionalColumns
#> list()
#>