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)
)
Run the code above in your browser using DataLab