Get a default scale for correlation heatmaps.
default_scale_corr(
aes_type,
bins = NULL,
limits = c(-1, 1),
size_range = NULL,
high = "sienna2",
mid = "white",
low = "skyblue2",
midpoint = 0,
na_col = "grey50",
leg_order = 1,
title = ggplot2::waiver()
)
ggplot2 scale for correlation heatmap.
Type of aesthetic ('fill', 'col', or 'size').
Number of bins (for fill and colour scales).
Scale limits (fill and colour).
Range of sizes (size).
Colours at higher end of fill or colour scale.
Colours at middle point of fill or colour scale.
Colours at lower end of fill or colour scale.
Middle point of colour scale.
Colour of NAs.
Order of legend.
Title of legend.