View source: R/DAPC_adegenet.R
rgb.cb | R Documentation |
Transform sRGB colorspace into colorblind colorspaces
Uses the model described here: https://ixora.io/projects/colorblindness/color-blindness-simulation-research/
rgb.cb(srgb)
srgb |
Numerical vector with R,G,B color coordinates |
Numeric matrix with transformed RGB color coordinates. First row contains input coordinates. Second through fourth rows contain coordinates for Protanopia, Deuteranopia, and Tritanopia colors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.