Description Usage Arguments Value
Little helper function to center a color palette around 0 for heatmaps depicting relative signatures such as log2 fold changes or Z-scores. Mostly tailored towards the pheatmap R package.
1 | brks_heatmap(emat, color_palette)
|
emat |
numeric matrix |
color_palette |
vector representing colors, no specific type needed, only used for length |
a numeric vector specifying breaks for a heatmap (pheatmap package)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.