Changelog
Source:NEWS.md
ospsuite 11.1.197
New features
-
Adds new visualization functions:
-
plotObservedVsSimulated()
for observed versus simulated data scatter plot. -
plotResidualsVsTime()
for time versus residuals data scatter plot. -
plotResidualsVsSimulated()
for simulated versus residuals data scatter plot.
-
-
Adds new helper functions to work with
DataCombined
objects:-
convertUnits()
to convert datasets inDataCombined
to common units. -
calculateResiduals()
to calculate residuals for datasets inDataCombined
.
-
Major Changes
The class
SimulationBatch
gets a new propertyid
.The output of
runSimulationBatches()
is now a named list with names being the ids ofSimulationBatch
.calculateResiduals()
now useslog(base = 10)
for calculation of residuals in logarithmic scale instead iflog(base = exp(1))
calculateResiduals()
does also return residuals for entries where simulated or observed value is 0 in logarithmic scale. These values were ignored in previous versions. If the observed or simulated value is zero or negative, it is replaced by an arbitrary small valuegetOSPSuiteSetting("LOG_SAFE_EPSILON")
(1e-20 by default).
ospsuite 11.0.123
New features
Adds new
DataCombined
class that combines observed data (DataSet
) and simulated data (SimulationResults
) into a single object. Especially important is the$toDataFrame()
method of this object that returns a data frame containing combined data from observed and simulated data, which can be further used for visualizations or other analysis.-
Adds new visualization functions:
-
plotIndividualTimeProfile()
andplotPopulationTimeProfile()
to create time-profile plots.
-
Adds a new class
DefaultPlotConfiguration
to provide plot configurations for plotting functions.Adds
simulationResultsToDataFrame()
function to convertSimulationResults
objects into a data frame.All
*ToDataFrame()
functions also get*ToTibble()
variants to extract a tibble data frame instead of a classical data frame.
Major Changes
-
Following functions are marked for deprecation and will be removed in future releases:
Breaking changes
Signature for
toUnit
function has changed.molWeight
is now the fifth, whilesourceUnit
is the fourth parameter (#837).DataImporterConfiguration
: fieldstimeUnitFromColumn
andmeasurementUnitFromColumn
are renamed toisTimeUnitFromColumn
andisMeasurementUnitFromColumn
The constructor for
DataImporterConfiguration
does not accept a path to a configuration file any more. Use the functionloadDataImporterConfiguration()
to create a configuration object from a file.The constructor for
DataSet
objects requires aname
argument.All
validate*()
helper functions and"%||%"
infix operators are no longer exported. Please have a look at the new utility package, from which these functions are now exported: https://www.open-systems-pharmacology.org/OSPSuite.RUtils/.The
pkAnalysesAsDataFrame()
function changes column data types forQuantityPath
,Parameter
, andUnit
fromfactor
tocharacter
(https://github.com/Open-Systems-Pharmacology/OSPSuite-R/issues/673).
ospsuite 10.0
Version compatible with the OSPSuite V10.
Bug fixes
- Cannot calculate PK-Parameters of a population when one individual simulation failed
- Usability issue when creating a population
- Unnecessary Debug output in some plot tasks
- uniqueEntities: Error when passing only one entity
- R-Toolbox bug? getAllParametersMatching()
- Add CL parameter to the list of StandardPKPArameters
- toBaseUnit and toUnit should support null as input (and return null)
- ospsuite::toBaseUnit should be case insensitive
- Integer variables not handled by some functions