palettes | R Documentation |
Choose colors.
palettes(
category = "box",
palette = "nrc",
alpha = 1,
counts = 50,
show_col = TRUE,
show_message = FALSE
)
category |
choose what type of plot you want to color,There are seven categories you can choose: 'box', 'continue2', 'continue', 'random', 'heatmap', 'heatmap3', 'tidyheatmap' |
palette |
Each category has some options to choose |
alpha |
intensity of the color |
counts |
number of colors, only affect continue colors |
show_col |
logical variable, if TRUE, color will be print and show in the R studio |
show_message |
print palettes that can be choose |
Dongqiang Zeng
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.