powered by
Color palettes based on the colors used by Integrative Genomics Viewer (IGV).
pal_igv(palette = c("default", "alternating"), alpha = 1)
Palette type. There are two available options: "default" (51-color palette); "alternating" (2-color palette).
"default"
"alternating"
Transparency level, a real number in (0, 1]. See alpha in rgb for details.
alpha
rgb
Nan Xiao <me@nanx.me> | <https://nanx.me>
James T. Robinson, Helga Thorvaldsd\'ottir, Wendy Winckler, Mitchell Guttman, Eric S. Lander, Gad Getz, Jill P. Mesirov. Integrative Genomics Viewer. Nature Biotechnology 29, 24--26 (2011).
library("scales") show_col(pal_igv("default")(51)) show_col(pal_igv("alternating")(2))
Run the code above in your browser using DataLab