
Read Parameter Identification configurations from Excel
Source:R/utilities-pi-configuration.R
readPITaskConfigurationFromExcel.RdRead Parameter Identification configurations from Excel
Details
Reads PI task configuration from the Excel file defined in
ProjectConfiguration and creates PITaskConfiguration objects. If a PI
task that is specified in piTaskNames is not found in the Excel file, an
error is thrown.
The function expects the Excel file to have a "PIOutputMappings" sheet with
PITaskName, Scenarios, OutputPath, ObservedDataSheet, DataSet,
Scaling, xOffset, yOffset, xFactor, yFactor, Weight columns.
OutputPath accepts either a full simulation output path or an
OutputPathId defined in the "OutputPaths" sheet of Scenarios.xlsx. It
also expects a "PIParameters" sheet with PITaskName, Scenarios,
Container Path, Parameter Name, Units, MinValue, MaxValue,
StartValue, Group columns, an optional "PIConfiguration" sheet with
PITaskName, Algorithm, CIMethod, PrintEvaluationFeedback,
AutoEstimateCI, numberOfCores, checkForNegativeValues,
ObjectiveFunctionType, ResidualWeightingMethod, RobustMethod,
ScaleVar, LinScaleCV, LogScaleSD columns, an "AlgorithmOptions" sheet
with PITaskName, OptionName, OptionValue columns, and a "CIOptions"
sheet with PITaskName, OptionName, OptionValue columns.
Examples
if (FALSE) { # \dontrun{
projectConfiguration <- createProjectConfiguration(
exampleProjectConfigurationPath(),
ignoreVersionCheck = TRUE
)
piTaskConfigurations <- readPITaskConfigurationFromExcel(
piTaskNames = "AciclovirSimple",
projectConfiguration = projectConfiguration
)
} # }