make_color_map: Map numeric vector to color gradient

Description Usage Arguments

View source: R/fct_dt_styling.R

Description

Internal functions not exported

Usage

1
2
3
4
5
make_color_map(
  values,
  type = c("gradient", "posneg"),
  colors = c("steelblue", "firebrick2")
)

Arguments

values

the values (usually a column) to calculate a gradient for

type

the type of gradient, either gradient for continuous or pos/neg for positive/negative color coding


teofiln/gene.editing.dash documentation built on Feb. 21, 2022, 12:59 a.m.