Skip to content

Commit d966dc3

Browse files
feat: use semantic colors for heatmap in event probability columns (#371)
1 parent b11bddd commit d966dc3

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

workflow/resources/datavzrd/variant-calls-template.datavzrd.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,22 @@ views:
259259
scale: "linear"
260260
aux-domain-columns:
261261
- "regex('.+: read depth')"
262-
"regex('prob: .+')":
262+
"regex('prob: (?!artifact|absent)')":
263263
plot:
264264
heatmap:
265265
scale: linear
266266
domain: [0.0, 1.0]
267267
range:
268268
- white
269269
- "#1f77b4"
270+
"regex('prob: (artifact|absent)')":
271+
plot:
272+
heatmap:
273+
scale: linear
274+
domain: [0.0, 1.0]
275+
range:
276+
- white
277+
- "#d4322c"
270278
"gnomad genome af":
271279
optional: true
272280
plot:
@@ -433,14 +441,22 @@ views:
433441
scale: "linear"
434442
aux-domain-columns:
435443
- "regex('.+: read depth')"
436-
"regex('prob: .+')":
444+
"regex('prob: (?!artifact|absent)')":
437445
plot:
438446
heatmap:
439447
scale: linear
440448
domain: [0.0, 1.0]
441449
range:
442450
- white
443451
- "#1f77b4"
452+
"regex('prob: (artifact|absent)')":
453+
plot:
454+
heatmap:
455+
scale: linear
456+
domain: [0.0, 1.0]
457+
range:
458+
- white
459+
- "#d4322c"
444460
"gnomad genome af":
445461
optional: true
446462
plot:

0 commit comments

Comments
 (0)