Spells

Spells provide reusable configuration snippets for datavzrd. These spells simplify the process of creating reports by allowing users to define common configurations in a modular way. Users can easily pull spells from local files or remote URLs, facilitating consistency and efficiency in data visualization workflows.

Below is a list of all the available spells in the datavzrd-spells repository. For adding new spells, please see the instructions in the datavzrd-spells repository.

clin-sig

https://img.shields.io/badge/code-github-blue

This spell visualizes the clinical significance, given in clinvar significance terms (https://www.ncbi.nlm.nih.gov/clinvar/) The values should be given in a column consisting of strings and separated by ‘,’

Example

render-table:
  columns:
    some clinical significance column:
      spell:
        url: v1.2.1/med/clin-sig

Authors

Benjamin Orlik

p-value

https://img.shields.io/badge/code-github-blue

This spell generates a heatmap visualization to represent the distribution of p-values or statistical significance in data. The heatmap uses a linear color scale to map values to a gradient from green over white to organge. The significance_threshold (e.g., p = 0.05) - a boundary between statistical significance and non-significance - can be adjusted dynamically based on the context or dataset.

Example

render-table:
  columns:
    some p-value column:
      spell:
        url: v1.2.1/stats/p-value
        with:
          significance_threshold: 0.05

Authors

Johannes Köster, Felix Wiegand

boolean

https://img.shields.io/badge/code-github-blue

This spell visualizes boolean values via colored +/- symbols.

Example

render-table:
  columns:
    some boolean column:
      spell:
        url: v1.2.1/logic/boolean
        with:
          # specify which values should be interpreted as true or false
          true_value: "true"
          false_value: "false"

Authors

Johannes Köster