color_palette: Color palette

View source: R/color_palette.R

color_paletteR Documentation

Color palette

Description

This function creates the base color palette used in BatchQC

Usage

color_palette(n, first_hue = 25, last_hue = 360)

Arguments

n

numeric object representing number of colors to be created

first_hue

numeric object to set the first hue value

last_hue

numeric object to set the final hue value

Value

color_list list of colors generated

Examples

library(scran)
n <- 100
color_list <- color_palette(n)
color_list


compbiomed/BatchQC documentation built on Nov. 16, 2024, 5:47 a.m.