Package: colorBlindness 0.1.9
colorBlindness: Safe Color Set for Color Blindness
Provide the safe color set for color blindness, the simulator of protanopia, deuteranopia. The color sets are collected from: Wong, B. (2011) <doi:10.1038/nmeth.1618>, and <http://mkweb.bcgsc.ca/biovis2012/>. The simulations of the appearance of the colors to color-deficient viewers were based on algorithms in Vienot, F., Brettel, H. and Mollon, J.D. (1999) <doi:10.1002/(SICI)1520-6378(199908)24:4%3C243::AID-COL5%3E3.0.CO;2-3>. The cvdPlot() function to generate 'ggplot' grobs of simulations were modified from <https://github.com/clauswilke/colorblindr>.
Authors:
colorBlindness_0.1.9.tar.gz
colorBlindness_0.1.9.zip(r-4.5)colorBlindness_0.1.9.zip(r-4.4)colorBlindness_0.1.9.zip(r-4.3)
colorBlindness_0.1.9.tgz(r-4.4-any)colorBlindness_0.1.9.tgz(r-4.3-any)
colorBlindness_0.1.9.tar.gz(r-4.5-noble)colorBlindness_0.1.9.tar.gz(r-4.4-noble)
colorBlindness_0.1.9.tgz(r-4.4-emscripten)colorBlindness_0.1.9.tgz(r-4.3-emscripten)
colorBlindness.pdf |colorBlindness.html✨
colorBlindness/json (API)
NEWS
# Install 'colorBlindness' in R: |
install.packages('colorBlindness', repos = c('https://jianhong.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 4 years agofrom:d3f857284e. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 02 2024 |
R-4.5-win | OK | Nov 02 2024 |
R-4.5-linux | OK | Nov 02 2024 |
R-4.4-win | OK | Nov 02 2024 |
R-4.4-mac | OK | Nov 02 2024 |
R-4.3-win | OK | Nov 02 2024 |
R-4.3-mac | OK | Nov 02 2024 |
Exports:availableColorsavailablePaletteBLACKBLUEBlue2DarkOrange12StepsBlue2DarkOrange18StepsBlue2DarkRed12StepsBlue2DarkRed18StepsBlue2Gray8StepsBlue2Green14StepsBlue2Orange10StepsBlue2Orange12StepsBlue2Orange8StepsBlue2OrangeRed14StepsBLUISH_GREENBrown2Blue10StepsBrown2Blue12StepscolorNamescvdPlotcvdSimulatordisplayAllColorsdisplayAvailablePalettedisplayColorsGreen2Magenta16StepsLightBlue2DarkBlue10StepsLightBlue2DarkBlue7StepsModifiedSpectralScheme11StepsORANGEPairedColor12StepspaletteMartinPRESETSREDDISH_PURPLEreplacePlotColorsafeColorssetPDFoptSKY_BLUESteppedSequential5StepsVERMILLIONYELLOW
Dependencies:clicolorspacecowplotfansifarverggplot2gluegridGraphicsgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
available colors | availableColors |
Available color palette | availablePalette |
safe colors | BLACK BLUE BLUISH_GREEN ORANGE REDDISH_PURPLE safeColors SKY_BLUE VERMILLION YELLOW |
available color variable | colorNames |
Show color-deficiency simulations of a plot | cvdPlot |
simulate color vision deficiency | cvdSimulator |
Display available palette | displayAvailablePalette |
display colors | displayAllColors displayColors |
convert plot to grob | grobify |
Palette for color blindness | Blue2DarkOrange12Steps Blue2DarkOrange18Steps Blue2DarkRed12Steps Blue2DarkRed18Steps Blue2Gray8Steps Blue2Green14Steps Blue2Orange10Steps Blue2Orange12Steps Blue2Orange8Steps Blue2OrangeRed14Steps Brown2Blue10Steps Brown2Blue12Steps Green2Magenta16Steps LightBlue2DarkBlue10Steps LightBlue2DarkBlue7Steps ModifiedSpectralScheme11Steps PairedColor12Steps paletteMartin SteppedSequential5Steps |
replace the colors for plots | replacePlotColor |
Auxiliary funciton to set width of pdf for journals | PRESETS setPDFopt |