View source: R/prepare_scales.R
| default_col_scale | R Documentation |
Get default colour scale for non-correlation heatmaps.
default_col_scale(
val_type,
aes_type,
leg_order = 1,
title = ggplot2::waiver(),
na_col = "grey50",
bins = NULL,
limits = NULL
)
val_type |
Value type ('continuous' or 'discrete'). |
aes_type |
Aesthetic type ('fill', 'col' or 'size). |
leg_order |
Order of legend. |
title |
Legend title. |
na_col |
Colour of NA values. |
bins |
Number of bins in scale(s). |
limits |
Limits of scales. |
ggplot2 colour scale for non-correlation heatmaps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.