generate_colors_for_numeric: Generates color vector from continous palette

Description Usage Arguments Value

View source: R/colors_for_annotation.R

Description

Generates a vector of colors for a vector of numeric, POSIXct (i.e. the (signed) number of seconds since the beginning of 1970 , or factors

Usage

1
generate_colors_for_numeric(palette_type = "brewer", i = 1)

Arguments

palette_type

'brewer' or 'viridis'

i

if palette_type is 'brewer' the palette argument to brewer_pal. If palette_type is 'viridis' the option argument to viridis_pal

Value

vector of colors


proBatch documentation built on Nov. 8, 2020, 4:55 p.m.