Skip to contents

Internal helper to add appropriate color scales to heatmap plots.

Usage

.add_heatmap_color_scale(scale_type, colors, accessibility_mode)

Arguments

scale_type

Type of color scale

colors

Color palette

accessibility_mode

High contrast mode

Value

ggplot2 scale layer