View source: R/continuous-gsea.R
pal_gsea | R Documentation |
Color palette inspired by the colors used in the heatmaps plotted by GSEA GenePattern.
pal_gsea(palette = c("default"), n = 12, alpha = 1, reverse = FALSE)
palette |
Palette type.
Currently there is one available option: |
n |
Number of individual colors to be generated. |
alpha |
Transparency level, a real number in (0, 1].
See |
reverse |
Logical. Should the order of the colors be reversed? |
Nan Xiao | me@nanx.me | https://nanx.me
library("scales")
show_col(pal_gsea("default")(12))
show_col(pal_gsea("default", n = 30, alpha = 0.6, reverse = TRUE)(30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.