polyomics_scale_colour: Polyomics Scale Colour

Description Usage Arguments Examples

View source: R/polyomics_scale_colour.R

Description

Color scale constructor for polyomics colors

Usage

1
polyomics_scale_colour(palette = "main", discrete = TRUE, reverse = FALSE, ...)

Arguments

palette

Character name of palette in polyomics_palettes

discrete

Boolean indicating whether color aesthetic is discrete or not

reverse

Boolean to reverse the order of the colour palette

...

Params set to NULL

Examples

1
2
3
4
library(ggplot2)
plot <- ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +
geom_point(size = 4) +
polyomics_scale_color(palette = "mixed")

GrahamHamilton/PolyomicsColours documentation built on Oct. 8, 2020, 12:21 a.m.