Sci format for volcano padj values [CW-7342]
This commit is contained in:
parent
0aa3ce3cad
commit
c99ba8cd9f
@ -13,6 +13,7 @@ Users of wf-transcriptomes v2.0.0 who have encountered issues during discovery a
|
|||||||
### Fixed
|
### Fixed
|
||||||
- "Error in full_join" encountered during `runPerSampleBambuQuant` when all read classes have no compatible transcript assignment. An empty quant table is correctly emitted instead.
|
- "Error in full_join" encountered during `runPerSampleBambuQuant` when all read classes have no compatible transcript assignment. An empty quant table is correctly emitted instead.
|
||||||
- "unable to find an inherited method for function 'rowData'" encountered during `runJointBambuDiscover` when providing many samples. The workflow now correctly handles data spilled to disk by bambu discover.
|
- "unable to find an inherited method for function 'rowData'" encountered during `runJointBambuDiscover` when providing many samples. The workflow now correctly handles data spilled to disk by bambu discover.
|
||||||
|
- Adjusted p-values below 0.001 in the volcano selection table are now shown in scientific notation instead of being rounded to 0.000.
|
||||||
|
|
||||||
|
|
||||||
## [v2.0.0]
|
## [v2.0.0]
|
||||||
@ -323,4 +324,3 @@ This patch release of wf-transcriptomes updates internal workflow naming, and do
|
|||||||
### Added
|
### Added
|
||||||
- First release
|
- First release
|
||||||
- Initial port of Snakemake WF from https://github.com/nanoporetech/pipeline-nanopore-ref-isoforms
|
- Initial port of Snakemake WF from https://github.com/nanoporetech/pipeline-nanopore-ref-isoforms
|
||||||
|
|
||||||
|
|||||||
@ -581,7 +581,15 @@ def volcano(data, fold_threshold=1, p_threshold=0.05):
|
|||||||
TableColumn(
|
TableColumn(
|
||||||
field="padj",
|
field="padj",
|
||||||
title="padj",
|
title="padj",
|
||||||
formatter=NumberFormatter(format="0.000e"),
|
formatter=HTMLTemplateFormatter(
|
||||||
|
template="""
|
||||||
|
<% if (value < 0.001 && value !== 0) { %>
|
||||||
|
<span><%= value.toExponential(2) %></span>
|
||||||
|
<% } else { %>
|
||||||
|
<span><%= value.toFixed(4) %></span>
|
||||||
|
<% } %>
|
||||||
|
"""
|
||||||
|
),
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
selected_table = DataTable(
|
selected_table = DataTable(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user