distinct_palette_many: Palette of 'n' distinct colours.

View source: R/color_palettes.R

distinct_palette_manyR Documentation

Palette of n distinct colours.

Description

ColorRamp palette extrapolating all qualitative (qual) palettes from the RColorBrewer package. This function can have the number of required colours as input parameter; if this does not happen a function is returned.

Usage

distinct_palette_many(n = NULL)

Arguments

n

The number of required colours. By default this is NULL.

Value

Either a function that applied to a number returns the required colours, or the actual sampling function.

See Also

Other Plotting functions: distinct_palette_few(), gradient_palette(), plot_DET_index(), plot_clusters(), plot_dendrogram(), plot_drivers_clonality(), plot_drivers_graph(), plot_drivers_occurrence(), plot_jackknife_cluster_stability(), plot_jackknife_coclustering(), plot_jackknife_trajectories_stability(), plot_patient_CCF_histogram(), plot_patient_data(), plot_patient_mutation_burden(), plot_patient_oncoprint(), plot_patient_trees_scores()

Examples

distinct_palette_many(2)

caravagn/revolver documentation built on May 21, 2022, 5:48 p.m.