Class: ResponseComparison
An analysis-layer record describing the change in a measured response between a control/baseline group and a treated group. Lives alongside the extracted assay data rather than inside it: papers report changes in many forms (absolute difference, percent change, fold change, ratio), and downstream models need a single change value with an uncertainty measure. References the control and treated output records by id, names the measurement being compared, and states the kind, direction, and size of the change. Use derivation to record whether the change was reported in the paper or computed afterwards.
classDiagram
class ResponseComparison
click ResponseComparison href "../ResponseComparison/"
NamedThing <|-- ResponseComparison
click NamedThing href "../NamedThing/"
ResponseComparison : change_direction
ResponseComparison --> "0..1" ChangeDirectionEnum : change_direction
click ChangeDirectionEnum href "../ChangeDirectionEnum/"
ResponseComparison : change_type
ResponseComparison --> "0..1" ChangeTypeEnum : change_type
click ChangeTypeEnum href "../ChangeTypeEnum/"
ResponseComparison : change_value
ResponseComparison --> "0..1" QuantityValue : change_value
click QuantityValue href "../QuantityValue/"
ResponseComparison : compared_measurement
ResponseComparison : control_output
ResponseComparison --> "0..1" AssayOutputMeasurement : control_output
click AssayOutputMeasurement href "../AssayOutputMeasurement/"
ResponseComparison : derivation
ResponseComparison --> "0..1" DerivationEnum : derivation
click DerivationEnum href "../DerivationEnum/"
ResponseComparison : derived_from_assay
ResponseComparison --> "0..1" Assay : derived_from_assay
click Assay href "../Assay/"
ResponseComparison : description
ResponseComparison : id
ResponseComparison : name
ResponseComparison : p_value
ResponseComparison : statistical_test
ResponseComparison : treated_output
ResponseComparison --> "0..1" AssayOutputMeasurement : treated_output
click AssayOutputMeasurement href "../AssayOutputMeasurement/"
Inheritance
- NamedThing
- ResponseComparison
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| derived_from_assay | 0..1 Assay |
Reference (by id) to the assay whose output records this comparison is derive... | direct |
| compared_measurement | 0..1 String |
The name of the measurement slot being compared (e | direct |
| control_output | 0..1 AssayOutputMeasurement |
Reference (by id) to the AssayOutputMeasurement record for the control or bas... | direct |
| treated_output | 0..1 AssayOutputMeasurement |
Reference (by id) to the AssayOutputMeasurement record for the treated group | direct |
| change_type | 0..1 ChangeTypeEnum |
How the change is expressed: an absolute difference, a percent change, a fold... | direct |
| change_direction | 0..1 ChangeDirectionEnum |
Direction of the change in the treated group relative to control | direct |
| change_value | 0..1 QuantityValue |
The size of the change, with its unit and (when reported) its uncertainty | direct |
| p_value | 0..1 Float |
Reported p-value for the comparison, when available | direct |
| statistical_test | 0..1 String |
Statistical test used for the comparison (e | direct |
| derivation | 0..1 DerivationEnum |
Whether this change was reported directly in the paper or computed afterwards... | direct |
| id | 1 Uriorcurie |
A unique identifier for the entity | NamedThing |
| name | 0..1 String |
A human-readable name for the entity | NamedThing |
| description | 0..1 String |
A detailed description of the entity | NamedThing |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Container | response_comparisons | range | ResponseComparison |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/EHS-Data-Standards/soma
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | soma:ResponseComparison |
| native | soma:ResponseComparison |
LinkML Source
Direct
name: ResponseComparison
description: 'An analysis-layer record describing the change in a measured response
between a control/baseline group and a treated group. Lives alongside the extracted
assay data rather than inside it: papers report changes in many forms (absolute
difference, percent change, fold change, ratio), and downstream models need a single
change value with an uncertainty measure. References the control and treated output
records by id, names the measurement being compared, and states the kind, direction,
and size of the change. Use derivation to record whether the change was reported
in the paper or computed afterwards.'
from_schema: https://w3id.org/EHS-Data-Standards/soma
is_a: NamedThing
slots:
- derived_from_assay
- compared_measurement
- control_output
- treated_output
- change_type
- change_direction
- change_value
- p_value
- statistical_test
- derivation
Induced
name: ResponseComparison
description: 'An analysis-layer record describing the change in a measured response
between a control/baseline group and a treated group. Lives alongside the extracted
assay data rather than inside it: papers report changes in many forms (absolute
difference, percent change, fold change, ratio), and downstream models need a single
change value with an uncertainty measure. References the control and treated output
records by id, names the measurement being compared, and states the kind, direction,
and size of the change. Use derivation to record whether the change was reported
in the paper or computed afterwards.'
from_schema: https://w3id.org/EHS-Data-Standards/soma
is_a: NamedThing
attributes:
derived_from_assay:
name: derived_from_assay
description: Reference (by id) to the assay whose output records this comparison
is derived from.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: derived_from_assay
owner: ResponseComparison
domain_of:
- ResponseComparison
range: Assay
inlined: false
compared_measurement:
name: compared_measurement
description: The name of the measurement slot being compared (e.g., "total_lung_capacity",
"beat_frequency_hz"), matching the slot name in the referenced output records.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: compared_measurement
owner: ResponseComparison
domain_of:
- ResponseComparison
range: string
control_output:
name: control_output
description: Reference (by id) to the AssayOutputMeasurement record for the control
or baseline group.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: control_output
owner: ResponseComparison
domain_of:
- ResponseComparison
range: AssayOutputMeasurement
inlined: false
treated_output:
name: treated_output
description: Reference (by id) to the AssayOutputMeasurement record for the treated
group.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: treated_output
owner: ResponseComparison
domain_of:
- ResponseComparison
range: AssayOutputMeasurement
inlined: false
change_type:
name: change_type
description: 'How the change is expressed: an absolute difference, a percent change,
a fold change, or a ratio. Papers report changes in different forms; this makes
the form explicit so values can be compared or converted downstream.'
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: change_type
owner: ResponseComparison
domain_of:
- ResponseComparison
range: ChangeTypeEnum
change_direction:
name: change_direction
description: Direction of the change in the treated group relative to control.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: change_direction
owner: ResponseComparison
domain_of:
- ResponseComparison
range: ChangeDirectionEnum
change_value:
name: change_value
description: The size of the change, with its unit and (when reported) its uncertainty.
For a percent change the unit is percent; for an absolute difference it is the
measurement's unit; fold changes and ratios are dimensionless.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: change_value
owner: ResponseComparison
domain_of:
- ResponseComparison
range: QuantityValue
inlined: true
p_value:
name: p_value
description: Reported p-value for the comparison, when available.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: p_value
owner: ResponseComparison
domain_of:
- ResponseComparison
range: float
statistical_test:
name: statistical_test
description: Statistical test used for the comparison (e.g., t-test, ANOVA), when
reported.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: statistical_test
owner: ResponseComparison
domain_of:
- ResponseComparison
range: string
derivation:
name: derivation
description: Whether this change was reported directly in the paper or computed
afterwards from the extracted control and treated values.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
alias: derivation
owner: ResponseComparison
domain_of:
- ResponseComparison
range: DerivationEnum
id:
name: id
description: A unique identifier for the entity.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
identifier: true
alias: id
owner: ResponseComparison
domain_of:
- NamedThing
- Unit
- NamedEntity
range: uriorcurie
required: true
name:
name: name
description: A human-readable name for the entity.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
slot_uri: schema:name
alias: name
owner: ResponseComparison
domain_of:
- NamedThing
- Unit
- NamedEntity
range: string
description:
name: description
description: A detailed description of the entity.
from_schema: https://w3id.org/EHS-Data-Standards/soma
rank: 1000
slot_uri: schema:description
alias: description
owner: ResponseComparison
domain_of:
- NamedThing
range: string