generate_colors_for_numeric: Generates color vector from continous palette

View source: R/colors_for_annotation.R

generate_colors_for_numericR Documentation

Generates color vector from continous palette

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

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


symbioticMe/proBatch documentation built on April 9, 2023, 11:59 a.m.