Add a new theme

add_colorDF_theme(theme, id, description = NULL)

Arguments

theme

a list containing style definitions

id

an identifier (name) for the theme

description

Description of th theme

Value

invisibly the new theme.

Examples

newtheme <- get_colorDF_theme("bw")
## Like "bw" theme, but significant p-values are red
newtheme$type.styles$pval$fg_sign <- "#FF0000"
add_colorDF_theme(newtheme, "new", "My new theme")