-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Addimator <adpri100hhu.de> Co-authored-by: David Laehnemann <[email protected]> Co-authored-by: Johannes Köster <[email protected]> Co-authored-by: Johannes Koester <[email protected]>
- Loading branch information
1 parent
bae88d0
commit 93512b8
Showing
37 changed files
with
1,733 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
!config/units.tsv | ||
!LICENSE | ||
!README.md | ||
local/* | ||
resources | ||
resources/* | ||
results | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- pandas =2.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- polars =1.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
dependencies: | ||
- polars =0.20.28 | ||
- pyreadr =0.5 | ||
- altair =5.2 | ||
- pyarrow =16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Meta comparisons for {{ snakemake.wildcards.meta_comp }}. | ||
The axes represent the log2-fold changes (beta-scores) for the two models, with each point representing a gene. | ||
Points on the diagonal indicate no difference between the comparisons, while deviations from the diagonal suggest differences in gene expression between the treatments. | ||
The color encodes the corresponding q-value. | ||
By clicking on points, their label can be displayed. | ||
Holding the Shift key allows to select or deselect labels for multiple genes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Unit sheet containing all considered units, which can be multiple units for a single sample (for example, when the same biological sample was sequenced across multiple lanes and demultiplexed into separate lane-specific fastq files). | ||
The annotations in this file determine how the workflow internally handles units. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
After adapter removal with `Cutadapt <http://cutadapt.readthedocs.io>`_, transcripts were quantified with `Kallisto <https://pachterlab.github.io/kallisto/>`_. | ||
Integrated normalization and differential expression analysis was conducted with `Sleuth <https://pachterlab.github.io/sleuth>`_ following standard procedure as outlined in the manual. | ||
For sample metadata, see {{ snakemake.config["samples"] }}_. | ||
For sample metadata, see the samples file in `Inputs`_ |
99 changes: 99 additions & 0 deletions
99
workflow/resources/custom_vega_plots/circle_diagram_genes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | ||
"width": 35, | ||
"height": 35, | ||
"data": { | ||
"values": [] | ||
}, | ||
"layer": [ | ||
{ | ||
"mark": "arc", | ||
"encoding": { | ||
"theta": { | ||
"field": "amount", | ||
"type": "quantitative" | ||
}, | ||
"color": { | ||
"field": "category", | ||
"type": "nominal", | ||
"scale": { | ||
"domain": [ | ||
"DE_genes", | ||
"genes" | ||
], | ||
"range": [ | ||
"#f2e34c", | ||
"#31a354" | ||
] | ||
}, | ||
"legend": null | ||
}, | ||
"tooltip": [ | ||
{ | ||
"field": "category", | ||
"type": "nominal" | ||
}, | ||
{ | ||
"field": "amount", | ||
"type": "quantitative" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"mark": { | ||
"type": "text", | ||
"baseline": "middle", | ||
"align": "center", | ||
"dx": 2, | ||
"fontSize": 9, | ||
"color": "white" | ||
}, | ||
"encoding": { | ||
"text": { | ||
"field": "percentage", | ||
"type": "quantitative", | ||
"format": "0.2%" | ||
} | ||
} | ||
}, | ||
{ | ||
"transform": [ | ||
{ | ||
"pivot": "category", | ||
"value": "amount", | ||
"groupby": [ | ||
"percentage" | ||
] | ||
} | ||
], | ||
"mark": "rule", | ||
"encoding": { | ||
"tooltip": [ | ||
{ | ||
"field": "genes", | ||
"type": "nominal" | ||
}, | ||
{ | ||
"field": "DE_genes", | ||
"type": "quantitative" | ||
} | ||
] | ||
}, | ||
"params": [ | ||
{ | ||
"name": "hover", | ||
"select": { | ||
"type": "point", | ||
"fields": [ | ||
"percentage" | ||
], | ||
"nearest": true, | ||
"on": "mouseover", | ||
"clear": "mouseout" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | ||
"width": 35, | ||
"height": 35, | ||
"data": { | ||
"values": [] | ||
}, | ||
"transform": [ | ||
{ | ||
"calculate": "datum.category === 'ratio_differential' ? 'differential' : 'random'", | ||
"as": "tooltip_text" | ||
} | ||
], | ||
"mark": { | ||
"type": "bar", | ||
"tooltip": { | ||
"content": "data" | ||
} | ||
}, | ||
"encoding": { | ||
"y": { | ||
"field": "category", | ||
"type": "nominal", | ||
"axis": null, | ||
"sort": [ | ||
"ratio_differential", | ||
"ratio_size" | ||
] | ||
}, | ||
"x": { | ||
"field": "amount", | ||
"type": "quantitative", | ||
"axis": null | ||
}, | ||
"tooltip": { | ||
"field": "tooltip_text", | ||
"type": "nominal" | ||
} | ||
}, | ||
"layer": [ | ||
{ | ||
"mark": { | ||
"type": "bar", | ||
"tooltip": true | ||
} | ||
}, | ||
{ | ||
"mark": { | ||
"type": "text", | ||
"align": "left", | ||
"dx": 2, | ||
"dy": -2, | ||
"color": "black", | ||
"fontSize": 10 | ||
}, | ||
"encoding": { | ||
"text": { | ||
"field": "amount", | ||
"type": "quantitative", | ||
"format": ".3f" | ||
} | ||
} | ||
} | ||
], | ||
"config": { | ||
"style": { | ||
"cell": { | ||
"stroke": "transparent" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.