Scale construction for ggplot use
Scale construction for filling in ggplot
Usage
scale_color_biotime(palette = "realms", discrete = TRUE, reverse = FALSE, ...)
scale_colour_biotime(palette = "realms", discrete = TRUE, reverse = FALSE, ...)
scale_fill_biotime(palette = "realms", discrete = TRUE, reverse = FALSE, ...)Arguments
- palette
One of: `realms`, `gradient`, `cool`, `warm`, default to `realms`.
- discrete
See Details. default to `FALSE`
- reverse
Default to `FALSE`
- ...
Passed to
discrete_scaleorscale_color_gradient
Value
If discrete is TRUE, the function returns a colour palette produced by
discrete_scale and if discrete is FALSE, the function
returns a colour palette produced by scale_color_gradient.
If discrete is TRUE, the function returns a colour palette produced by
discrete_scale and if discrete is FALSE, the function
returns a colour palette produced by scale_color_gradient.