Learn R Programming

ggpicrust2 (version 2.5.10)

create_gradient_colors: Create Gradient Colors

Description

Creates gradient colors for fold change visualization

Usage

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

Value

A vector of colors

Arguments

theme_name

Character string specifying the theme

n_colors

Number of colors in the gradient

diverging

Whether to create a diverging gradient (for fold changes)