adjust_color: Correct duplicated colors

View source: R/annotate.R

adjust_colorR Documentation

Correct duplicated colors

Description

Correct duplicated colors

Usage

adjust_color(colorset)

Arguments

colorset

a character vector of R or hex colors

Value

a character vector of hex colors with duplicated colors replaced

Examples


original_colors <- c("#00FF00","#00FF00","#FF0000","#00FF00")

new_colors <- adjust_color(original_colors)


AllenInstitute/scrattch.hicat documentation built on June 6, 2024, 5:31 a.m.