gg_color_hue: Get ggplot default colors

Description Usage Arguments Value Examples

View source: R/gg_color_hue.R

Description

gg_color_hue returns n colors using ggplot default palette

Usage

1

Arguments

n

number of colors to generate

Value

character vector specifying colors by hexadecimal code

Examples

1
2
3
4
## Not run: 
barplot(c(a = 2,b = 4, c= 3), col = gg_color_hue(3))

## End(Not run)

okg3/RNAEditingAnalysisTools documentation built on April 2, 2020, 5:04 a.m.