cjbColor: Color related functions and variables

Description Usage Arguments Value Predefined Colors

Description

A group of color related functions and variables.

Usage

1
2
3
4
5
6
7
darken(color, factor = 1.4)

lighten(color, factor = 1.4)

add.alpha(color, alpha = 0.7)

assignCHMcolor(df, colist = comp_hm_colist_full, columns = NULL)

Arguments

color

a character or vector of color

factor

a numeric. To what extend you want to change the color

alpha

a numeric. The alpha level.

df

dataframe to be plotted

colist

list of named color vector. By default is comp_hm_colist_full

columns

if only selected columns to be used for generating the color, supply a vector of column names here.

Value

Predefined Colors

These variables will be loaded to the global environment and might overwrite existing colors.


brightchan/cjbmisc documentation built on Nov. 5, 2021, 4:12 p.m.