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:Jianhong Ou [aut, cre]

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'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

39 exports 0.00 score 30 dependencies 221 scripts 762 downloads

Last updated 3 years agofrom:d3f857284e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-winOKSep 03 2024
R-4.5-linuxOKSep 03 2024
R-4.4-winOKSep 03 2024
R-4.4-macOKSep 03 2024
R-4.3-winOKSep 03 2024
R-4.3-macOKSep 03 2024

Exports:availableColorsavailablePaletteBLACKBLUEBlue2DarkOrange12StepsBlue2DarkOrange18StepsBlue2DarkRed12StepsBlue2DarkRed18StepsBlue2Gray8StepsBlue2Green14StepsBlue2Orange10StepsBlue2Orange12StepsBlue2Orange8StepsBlue2OrangeRed14StepsBLUISH_GREENBrown2Blue10StepsBrown2Blue12StepscolorNamescvdPlotcvdSimulatordisplayAllColorsdisplayAvailablePalettedisplayColorsGreen2Magenta16StepsLightBlue2DarkBlue10StepsLightBlue2DarkBlue7StepsModifiedSpectralScheme11StepsORANGEPairedColor12StepspaletteMartinPRESETSREDDISH_PURPLEreplacePlotColorsafeColorssetPDFoptSKY_BLUESteppedSequential5StepsVERMILLIONYELLOW

Dependencies:clicolorspacecowplotfansifarverggplot2gluegridGraphicsgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

colorBlindness Guide

Rendered fromcolorBlindness.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2021-04-17
Started: 2020-03-16

Readme and manuals

Help Manual

Help pageTopics
available colorsavailableColors
Available color paletteavailablePalette
safe colorsBLACK BLUE BLUISH_GREEN ORANGE REDDISH_PURPLE safeColors SKY_BLUE VERMILLION YELLOW
available color variablecolorNames
Show color-deficiency simulations of a plotcvdPlot
simulate color vision deficiencycvdSimulator
Display available palettedisplayAvailablePalette
display colorsdisplayAllColors displayColors
convert plot to grobgrobify
Palette for color blindnessBlue2DarkOrange12Steps Blue2DarkOrange18Steps Blue2DarkRed12Steps Blue2DarkRed18Steps Blue2Gray8Steps Blue2Green14Steps Blue2Orange10Steps Blue2Orange12Steps Blue2Orange8Steps Blue2OrangeRed14Steps Brown2Blue10Steps Brown2Blue12Steps Green2Magenta16Steps LightBlue2DarkBlue10Steps LightBlue2DarkBlue7Steps ModifiedSpectralScheme11Steps PairedColor12Steps paletteMartin SteppedSequential5Steps
replace the colors for plotsreplacePlotColor
Auxiliary funciton to set width of pdf for journalsPRESETS setPDFopt