Skip to content

Commit 99150b0

Browse files
committed
docs: more elaborate and hopefully clearer fold change transformation explanation
1 parent a5086b5 commit 99150b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

workflow/resources/datavzrd/go-enrichment-template.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,10 @@ views:
136136
go_terms_scatter:
137137
dataset: go_enrichment
138138
desc: ?f"The y-axis represents the False Discovery Rate (FDR), while the x-axis shows the effect of the GO term for the {wildcards.model} model as determined by goatools.
139-
The effect is determined as the average of all the absolute fold changes (all fold changes transformed to be >1) across all genes in a GO term.
140-
After averaging the fold changes, the result is transformed to the log2 scale for reporting (and for use in the pi values we also report).
139+
The effect is determined as the average of all the absolute fold changes across all genes in a GO term.
140+
Here, absolute means a log2 fold change above 0, or a fold change above 1.
141+
Thus, for averaging, a fold change of 0.5 would become 2, a fold change of 0.25 would become 4.
142+
After averaging the fold changes, the result is transformed back to the log2 scale for reporting (and for use in the pi values we also report).
141143
Each point corresponds to a GO term.
142144
Click on a GO term to highlight it in colour.
143145
Several GO terms can be selected at the same time by holding down the Shift key."

0 commit comments

Comments
 (0)