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_add_padding()
,
ft_ggplot2_add_ellipse()
,
ft_ggplot2_colors()
,
ft_ggplot2_legend_inside()
,
ft_ggplot2_rotate_axis_labels()
,
ft_ggplot2_self_colors()
,
ft_plot_temp_file()
,
ft_upset_add_counts()
,
ft_upset_comb_matrix()
Other Colors:
ft_complexheatmap_scale()
,
ft_ggplot2_colors()