get_cols: Get color functions from character vectors

View source: R/utils.R

get_colsR Documentation

Get color functions from character vectors

Description

Get color functions from character vectors

Usage

get_cols(my_cols, task, guide = "none")

Arguments

my_cols

Character vectors of different hex values

task

Character string indicating the type of problem, either 'classification' (categorical outcome) or 'regression' (continuous outcome).

guide

A function used to create a guide or its name. Inherit from ['ggplot2::guides()'](https://ggplot2.tidyverse.org/reference/guides.html).


trang1618/treeheatr documentation built on July 30, 2023, 1:20 a.m.