View source: R/discrete-locuszoom.R
pal_locuszoom | R Documentation |
Color palettes based on the colors used by LocusZoom.
pal_locuszoom(palette = c("default"), alpha = 1)
palette |
Palette type.
Currently there is one available option: |
alpha |
Transparency level, a real number in (0, 1].
See |
Nan Xiao | me@nanx.me | https://nanx.me
Pruim, Randall J., et al. (2010). LocusZoom: regional visualization of genome-wide association scan results. Bioinformatics, 26(18), 2336–2337.
library("scales")
show_col(pal_locuszoom("default")(7))
show_col(pal_locuszoom("default", alpha = 0.6)(7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.