scale_ebvm: Scale functions for using ebvmThemes in ggplot2

Description Usage Arguments Details Note

Description

Scale functions for using ebvmThemes in ggplot2

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
scale_fill_ebvmCont(..., type = "seq", palette = 1, direction = -1,
  values = NULL, space = "Lab", na.value = "grey66",
  guide = "colourbar")

scale_color_ebvmCont(..., type = "seq", palette = 1, direction = -1,
  values = NULL, space = "Lab", na.value = "grey66",
  guide = "colourbar")

scale_fill_ebvmDisc(..., type = "div", palette = 1, direction = 1)

scale_color_ebvmDisc(..., type = "div", palette = 1, direction = 1)

Arguments

...

Other arguments passed on to [discrete_scale()] or, for 'distiller' scales, [continuous_scale()] to control name, limits, breaks, labels and so forth.

values

if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the colours vector. See rescale for a convience function to map an arbitrary range to between 0 and 1.

space

colour space in which to calculate gradient. Must be "Lab" - other values are deprecated.

Details

Continuous scale Discrete #'

Note

Functions adapted from ggplot2 scale_fill_distiller and scale_fill_brewer


ebvm24/elisalib documentation built on May 28, 2019, 7:55 p.m.