Description Usage Arguments Details Value See Also Examples
A function that returns a color palette function based off of the scico package.
1 2 | scico_palette(scico_palette = "batlow", scico_number = 800,
scico_range = 0:scico_number)
|
scico_palette |
The scico palette to use. Default: 'batlow' |
scico_number |
The number of colors to use in the scico palette. Default: 800 |
scico_range |
The range in the color palette to use. Default: c(0, scico_number) |
The purpose of this function is to provide an interpolated scico palette for using with the get_color_palette function.
The output of this function is another function (grDevoces::colorRampPalette), which takes a number to generate an interpolated color palette as a character vector.
Other Color Palettes: combination_palette
,
get_color_palette
,
viridis_magma_palette
,
viridis_palette
1 2 3 4 5 6 7 8 | ## Not run:
if(interactive()){
library(MicrobiomeR)
basic_pal <- scico_palette(scico_palette="hawaii")(25)
better_pal <- get_color_palette(pal_func = scico_palette, color_no = 25)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.