Learn R Programming

colorDF (version 0.1.7)

add_colorDF_theme: Add a new theme

Description

Add a new theme

Usage

add_colorDF_theme(theme, id, description = NULL)

Value

invisibly the new theme.

Arguments

theme

a list containing style definitions

id

an identifier (name) for the theme

description

Description of th theme

Examples

Run this code
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")

Run the code above in your browser using DataLab