autoScale | R Documentation |
Helper functions for setting default colors in Acid Genomics plots.
acid_scale_color_continuous()
acid_scale_fill_continuous()
acid_scale_color_discrete()
acid_scale_fill_discrete()
Scale
/ggproto
/gg
.
These functions will inherit values defined in global options()
. Either
input a ggplot2 color scale function that returns Scale
class (e.g.
acid_scale_color_synesthesia_c
), or can input "gradient"
, "viridis"
character strings.
acid_scale_color_continuous()
: "ggplot2.continuous.colour"
.
acid_scale_color_discrete()
: "ggplot2.discrete.colour"
.
acid_scale_fill_continuous()
: "ggplot2.continuous.fill"
.
acid_scale_fill_discrete()
: "ggplot2.discrete.fill"
.
Updated 2023-08-11.
https://ggplot2.tidyverse.org/reference/scale_colour_continuous.html
https://ggplot2.tidyverse.org/reference/scale_colour_discrete.html
x <- acid_scale_color_continuous()
class(x)
x <- acid_scale_color_discrete()
class(x)
x <- acid_scale_fill_continuous()
class(x)
x <- acid_scale_fill_discrete()
class(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.