polyomics_scale_colour: Polyomics Scale Colour

View source: R/polyomics_scale_colour.R

polyomics_scale_colourR Documentation

Polyomics Scale Colour

Description

Color scale constructor for polyomics colors

Usage

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

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. 3, 2022, 3:37 p.m.