add_colorDF_theme: Add a new theme

View source: R/themes.R

add_colorDF_themeR Documentation

Add a new theme

Description

Add a new theme

Usage

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")

colorDF documentation built on Sept. 26, 2022, 5:06 p.m.