transp | R Documentation |
Adds transparency to a vector of colors
transp(col, alpha = 0.5)
col |
a vector of colors |
alpha |
(default 0.5) a numeric value between 0 and 1 representing the alpha coefficient; 0: total transparency; 1: no transparency. |
a color vector
Thibaut Jombart in adegenet
package
The R package RColorBrewer, proposing a nice selection of color palettes. The viridis package, with many excellent palettes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.