diff --git a/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.html b/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.html index 06fd12793..5c22174b2 100644 --- a/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.html +++ b/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.html @@ -206,21 +206,53 @@

Predicted response

entity, all values appear as a gradient. The pathway diagram remains interactive beside this panel.

+
+ What do these columns mean? +
+
Activity
+
+ The entity's predicted activity once the network settles, on the same scale as the input: 1× is normal, + 0 is none, and higher is more active. +
+
Change
+
+ Predicted activity minus the entity's own normal (baseline) activity, on the same scale: below zero it + falls, above zero it rises. A fall can reach −1 (switched off); a rise can reach +99, so large rises + sort above every fall. The diagram's colours show this. +
+
Influence
+
+ How strongly everything this entity feeds directly in the logic network (the reactions it is an input + to, catalyses or regulates, a set it belongs to, and so on; the “Logic nodes & edges” view shows + these links) responds to a small change in it, at the predicted state. It ranks direct, local effect, + not effect on the whole pathway, and has no unit; an entity that feeds nothing scores 0. +
+
+

+ Rows are sorted by the size of the change; a highlighted row is one you perturbed. Where one entity is + several nodes of the logic network, its row shows their average activity and change and their largest + influence. +

+
+
- EntityActivityChangeInfluence + Entity + Activity + Change vs baseline + Influence
@for (row of visibleRows(); track row.uuid) {
- + {{ row.name }} {{ row.reactomeId }} - {{ row.activity | number: '1.1-1' }}× - + {{ row.activity | number: '1.1-1' }}× + {{ row.change > 0 ? '+' : '' }}{{ row.change | number: '1.1-1' }} - {{ row.influence | number: '1.2-2' }} + {{ row.influence | number: '1.2-2' }}
}
diff --git a/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.scss b/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.scss index b6f712cf8..bd5d1a7e8 100644 --- a/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.scss +++ b/projects/pathway-browser/src/app/deltasignal/deltasignal-panel.component.scss @@ -329,6 +329,38 @@ main { font: var(--mat-sys-body-small); } +.column-help { + margin: 0 0 12px; + color: var(--on-surface-variant); + font: var(--mat-sys-body-small); + + summary { + cursor: pointer; + color: var(--primary); + font: var(--mat-sys-label-large); + } + + dl { + display: grid; + grid-template-columns: max-content 1fr; + gap: 6px 12px; + margin: 10px 0 6px; + } + + dt { + color: var(--on-surface); + font-weight: 500; + } + + dd { + margin: 0; + } + + p { + margin: 0; + } +} + .result-table { max-height: 360px; overflow: auto;