Pre / post / difference triptych
HeatmapDistanceTriptych.RdSequential shared scale on pre and post (via compact::HeatmapDistance), diverging zero-centred scale on the difference.
Usage
HeatmapDistanceTriptych(
df_pre,
df_post,
label = "",
custom_order = NULL,
custom_palette = NULL,
min_val = NULL,
max_val = NULL,
...
)Arguments
- df_pre, df_post
Distance matrices.
- label
Perturbation name, used in the post panel title.
- custom_order
Row/column order.
- custom_palette
Sequential palette passed to HeatmapDistance().
- min_val, max_val
Optional fixed limits for the pre/post panels, so those are also comparable across figures.
- ...
Passed to HeatmapDistanceDiff() (limits, scale_mode, ...).