A class for storage of numerical x- and y-value pairs and optional error for y-values.
Super classes
ospsuite.utils::Printable
-> ospsuite::DotNetWrapper
-> DataSet
Active bindings
name
The name of the DataSet
dataRepository
The underlying DataRepository object
xDimension
Dimension in which the xValues are defined
xUnit
Unit in which the xValues are defined
xValues
Values stored in the xUnit. This field is read-only. Use
$setValues()
to change the values.yDimension
Dimension in which the yValues are defined
yUnit
Unit in which the yValues are defined
yValues
Values stored in the yUnit. This field is read-only. Use
$setValues()
to change the values.yErrorType
Type of the error - geometric or arithmetic. When changing from arithmetic to geometric error, the values are considered in as fraction (1 = 100%). When changing from geometric to arithmetic, the values are set to the same unit as
yErrorUnit
. In case no yError is defined, the value isNULL
and cannot be changedyErrorUnit
Unit in which the yErrorValues are defined. For arithmetic error, the unit must be valid for
yDimension
. For geometric error, the unit must be valid forDimensionless
. In case no yError is defined, the value isNULL
and cannot be changedyErrorValues
Values of error stored in the yErrorUnit unit. This field is read-only. Use
$setValues()
to change the values. In case no yError is defined, the value isNULL
and cannot be changed. Use$setValues()
to change the values.molWeight
Molecular weight of the yValues in g/mol
LLOQ
Lower Limit Of Quantification. Value in yUnit associated with the yValues
metaData
Returns a named list of meta data defined for the data set.
Methods
Method new()
Initialize a new instance of the class.
Either create a DataSet
from a DataRepository
(e.g. loaded from a PKML)
or an empty DataSet
. In case of an empty DataSet
, a name
must be
provided.
Usage
DataSet$new(name = NULL, dataRepository = NULL)
Method addMetaData()
Adds a new entry to meta data list or changes its value if the name is already present.
Method setValues()
Sets the xValues, yValues, and (optionally) yErrorValues into the dataSet. Note: xValues, yValues and yErrorValues must have the same length
Method print()
Print the object to the console