Skip to content

Commit

Permalink
fix: obtain domain for tick plots in datavzrd report from all related…
Browse files Browse the repository at this point in the history
… columns (#142)

* fix: use obtain domain for tick plots in datavzrd report from all related columns

Needs datavzrd 1.13

* datavzrd version

* use list

* Update variant-calls-template.datavzrd.yaml

* convert group series to list

Co-authored-by: Felix Mölder <[email protected]>
  • Loading branch information
johanneskoester and FelixMoelder authored May 10, 2022
1 parent 2858ca8 commit 2e57b12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/envs/datavzrd.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
channels:
- conda-forge
dependencies:
- datavzrd =1.10
- datavzrd =1.13
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ views:
heatmap:
scale: ordinal
color-scheme: paired
aux-domain-columns: ?list(params.groups)

?for gene, path in params.variant_oncoprints:
?f"overview-{gene}":
Expand Down Expand Up @@ -191,10 +192,14 @@ views:
ticks:
scale: "linear"
domain: [0.0, 1.0]
aux-domain-columns:
- "regex('.+: allele frequency')"
"regex('.+: read depth')":
plot:
ticks:
scale: "linear"
aux-domain-columns:
- "regex('.+: read depth')"
"regex('prob: .+')":
plot:
heatmap:
Expand Down

0 comments on commit 2e57b12

Please sign in to comment.