ggColOffset_utility: Sample Equally from Color Space with Offset

Description Usage Arguments Value Examples

Description

This function is a low-level utility to sample at equal points from the color wheel to produce ggplot2 color scheme. This is a modification of ggCol_utility with a simple offset where sampling begins at 1 + offset.

Usage

1
ggColOffset_utility(n, offset, alpha = 1)

Arguments

n

number of colors to sample

offset

offset from 1

alpha

opacity

Value

a vector of colors in hex format

Examples

1
ggColOffset_utility(n=10, offset = 2, alpha = 0.5)

smitdave/MASH documentation built on May 30, 2019, 5:02 a.m.