transp {MiscMetabar} | R Documentation |
Adds transparency to a vector of colors
Description
Adds transparency to a vector of colors
Usage
transp(col, alpha = 0.5)
Arguments
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. |
Value
a color vector
Author(s)
Thibaut Jombart in adegenet
package
See Also
The R package RColorBrewer, proposing a nice selection of color palettes. The viridis package, with many excellent palettes
[Package MiscMetabar version 0.9.1 Index]