Skip to contents

Creates gradient colors for fold change visualization

Usage

create_gradient_colors(theme_name = "default", n_colors = 11, diverging = TRUE)

Arguments

theme_name

Character string specifying the theme

n_colors

Positive integer specifying the number of colors in the gradient

diverging

Logical. Whether to create a diverging gradient (for fold changes)

Value

A vector of colors