AssayDM - Result Table
Last updated on 13-Mar-2018 by Thomas P. Boesen

This is the internal working data-structure of the AssayDM Analyzer page components
The view model for the defult Analyzer page contains a list of result tables
(this.resultTables
) and a curve-fitting model (this.model
).
The entity
and parent
parts of a result record contain the 'raw' data
for the result based on the Scifeon datamodel.
The keyValues
and resultValues
are derived from the raw data and prepared for
the user interface, e.g. for display, filtering and pivoting.
The columns
array lists the member names in the keyValues and resultValues objects,
with additional metadata.
The column selector manipulates the content of this list.
Example of a single result-table
{
name: 'CurveFit',
type: 'CurveFit',
columns: [
{ type: 'key', name: 'plate', label: 'Plate', format: 'text', show: true },
{ type: 'key', name: 'parentSampleID', label: 'Parent Sample', format: 'text' },
{ type: 'result', name: 'ec50', label: 'EC50', format: 'number' },
{ type: 'result', name: 'log-ec50', label: 'LogEC50', format: 'number', show: true },
{ type: 'result', name: 'top', label: 'Top', format: 'number', show: true },
{ type: 'result', name: 'bottom', label: 'Bottom', format: 'number', show: true }
],
results: [
{
name: 'Plate1-3',
parent: { ... }, // Parent entity, e.g. data-series for curve-fit
keyValues: {
plate: 'Plate-1',
parentSampleID: 'S00097',
sampleName: 'CS047'
},
resultValues: {
logEC50: -8.3,
ec50: 5.01187E-9,
top: 98.3,
bottom: 21.7,
slope: 1.04,
hasActivity: 'YES',
window: 76.6
},
curve: [
{ valueX: 1.0E-9, valueY: 47.5 },
{ valueX: 1.02E-9, valueY: 47.6 },
...
]
entity: { // E.g. ResultCurveFit or ResultDataSeries entity
eClass: 'ResultCurveFit',
type: 'DoseResponse',
status: 'Initial',
subjectID: 'S00097',
subjectClass: 'Sample',
dataSeriesID: '#idDS4',
model: '4PL',
modelVersion: '1'
fitResult: {
parameters: {
logEC50: -8.3,
ec50: 5.01187E-9,
top: 98.3,
bottom: 21.7,
slope: 1.04
}
}
}
}
]
}
Return values from R Service
{
name: 'P00001|S00097',
parameters: {
bottom: 10.5570244,
inflection: 5.37202395,
slope: -1.6210855,
top: 98.0802301
}
}