colPal: Colour palettes

View source: R/colPal.R

colPalR Documentation

Colour palettes

Description

This function creates either a custom colour palette or can return the colours from an RColorBrewer palette

Usage

colPal(col)

Arguments

col

A character vector indicating the custom colours ("rgb", "colour name", "Hexadecimal") or RColourBrewer palette to be used. If list of colour values, the must all be of the same format ("color name", "hexadecimal", or "rgb()") If RColourBrewer palette name, length must be 1.

Value

A character vector of hexadecimal values representing the colour palette


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.