get_cols {treeheatr}R Documentation

Get color functions from character vectors

Description

Get color functions from character vectors

Usage

get_cols(my_cols, task, guide = FALSE)

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).


[Package treeheatr version 0.2.1 Index]