add_colorDF_theme: Add a new theme

Description Usage Arguments Value Examples

View source: R/themes.R

Description

Add a new theme

Usage

1
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

1
2
3
4
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")

january3/colorDF documentation built on Aug. 31, 2020, 2 a.m.