When one is using a continuous colorscale to visualize data (say log-fold-changes or correlations), it may be useful to create discrete colors from a usually continuous color scale.
Usage
ft_discretize_colorscale(
color_scale = NULL,
discrete_locs = c(25, 75),
show_colors = TRUE
)
See also
Other Graphics:
ft_add_figure_numbers()
,
ft_complexheatmap_scale()
,
ft_ggplot2_colors()
,
ft_ggplot2_rotate_axis_labels()
Other Colors:
ft_complexheatmap_scale()
,
ft_ggplot2_colors()