get_theme | R Documentation |
Auto generate theme for user.
get_theme( data, theme_name = "npg", threshold = 10, mode = "fill", reverse = False, palette = NULL, alpha = 1 )
data |
the data that is mapping with color. |
theme_name |
theme name Currently there is 19 available options:
See the Scientific Journal and Sci-Fi Themed Color Palettes for ggplot2 for details. |
threshold |
Integer. It is a continuous variable when the number of unique element is greater than threshold |
reverse |
Logical. Should the order of the colors be reversed? |
palette |
Palette type, only when data is a continuous variable. |
alpha |
Transparency level, a real number in (0, 1]. |
Jingcheng Yang <yjcyxky@163.com>
library("BioVisReportR") theme <- get_theme(c(1:16), theme_name = 'npg')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.