| scale_color_igv | R Documentation |
See pal_igv() for details.
scale_color_igv(palette = c("default", "alternating"), alpha = 1, ...)
scale_colour_igv(palette = c("default", "alternating"), alpha = 1, ...)
scale_fill_igv(palette = c("default", "alternating"), alpha = 1, ...)
palette |
Palette type. There are two available options:
|
alpha |
Transparency level, a real number in (0, 1].
See |
... |
Additional parameters for |
Nan Xiao | me@nanx.me | https://nanx.me
p1 <- example_scatterplot()
p2 <- example_barplot()
p1 + scale_color_igv()
p2 + scale_fill_igv()
p1 + ggplot2::scale_colour_manual(
values = rep(pal_igv("alternating")(2), times = 3)
)
p2 + ggplot2::scale_fill_manual(
values = rep(pal_igv("alternating")(2), times = 3)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.