Skip to contents

Draw

Two matrices in, one diagonally split heatmap out.

biheat()
Diagonally split heatmap of two matrices
geom_biheat()
ggplot2 layer for diagonally split heatmap cells

The lifecycle

Pair the matrices, configure the rendering, draw.

breed()
Breed a pair of matrices into a clutch
incubate()
Configure a clutch for rendering
plot(<clutch>)
Plot a clutch (S3 method for plot())

Verbs

Clutch in, clutch out, so they chain.

switch_sides()
Swap which matrix is on top
straighten()
Flip the diagonal direction
bothways()
Toggle between shared and separate colour scales
comes_out()
Extract the tidy data from a clutch or rendered plot

Appearance

Palettes, the heatmap theme, and the paired legend as a standalone grob.

palettes()
Paired gradient palettes for BiHeat
theme_biheat()
A minimal heatmap theme for BiHeat plots
bi_legend()
Build a paired-palette legend (split-tile glyph + gradient bars)

Package

BiHeat BiHeat-package
BiHeat: Diagonally Split Heatmaps for Paired Matrix Visualization