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.7)colorBlindness_0.1.9.zip(r-4.6)colorBlindness_0.1.9.zip(r-4.5)
colorBlindness_0.1.9.tgz(r-4.6-any)colorBlindness_0.1.9.tgz(r-4.5-any)
colorBlindness_0.1.9.tar.gz(r-4.7-any)colorBlindness_0.1.9.tar.gz(r-4.6-any)
colorBlindness_0.1.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
colorBlindness/json (API)
| # 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 from:d3f857284e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 141 | ||
| source / vignettes | OK | 213 | ||
| linux-release-x86_64 | OK | 137 | ||
| macos-release-arm64 | OK | 124 | ||
| macos-oldrel-arm64 | OK | 146 | ||
| windows-devel | OK | 116 | ||
| windows-release | OK | 106 | ||
| windows-oldrel | OK | 111 | ||
| wasm-release | OK | 128 |
Exports:availableColorsavailablePaletteBLACKBLUEBlue2DarkOrange12StepsBlue2DarkOrange18StepsBlue2DarkRed12StepsBlue2DarkRed18StepsBlue2Gray8StepsBlue2Green14StepsBlue2Orange10StepsBlue2Orange12StepsBlue2Orange8StepsBlue2OrangeRed14StepsBLUISH_GREENBrown2Blue10StepsBrown2Blue12StepscolorNamescvdPlotcvdSimulatordisplayAllColorsdisplayAvailablePalettedisplayColorsGreen2Magenta16StepsLightBlue2DarkBlue10StepsLightBlue2DarkBlue7StepsModifiedSpectralScheme11StepsORANGEPairedColor12StepspaletteMartinPRESETSREDDISH_PURPLEreplacePlotColorsafeColorssetPDFoptSKY_BLUESteppedSequential5StepsVERMILLIONYELLOW
Dependencies:clicolorspacecowplotcpp11farverggplot2gluegridGraphicsgtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
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 |
