Package: colorrepel 0.3.1

colorrepel: Repel Visually Similar Colors for Colorblind Users in Various Plots

Iterate and repel visually similar colors away in various 'ggplot2' plots. When many groups are plotted at the same time on multiple axes, for instance stacked bars or scatter plots, effectively ordering colors becomes difficult. This tool iterates through color combinations to find the best solution to maximize visual distinctness of nearby groups, so plots are more friendly toward colorblind users. This is achieved by two distance measurements, distance between groups within the plot, and CIELAB color space distances between colors as described in Carter et al., (2018) <doi:10.25039/TR.015.2018>.

Authors:Rui Fu [cre, aut, cph]

colorrepel_0.3.1.tar.gz
colorrepel_0.3.1.zip(r-4.5)colorrepel_0.3.1.zip(r-4.4)colorrepel_0.3.1.zip(r-4.3)
colorrepel_0.3.1.tgz(r-4.4-any)colorrepel_0.3.1.tgz(r-4.3-any)
colorrepel_0.3.1.tar.gz(r-4.5-noble)colorrepel_0.3.1.tar.gz(r-4.4-noble)
colorrepel_0.3.1.tgz(r-4.4-emscripten)colorrepel_0.3.1.tgz(r-4.3-emscripten)
colorrepel.pdf |colorrepel.html
colorrepel/json (API)
NEWS

# Install 'colorrepel' in R:
install.packages('colorrepel', repos = c('https://raysinensis.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/raysinensis/color_repel/issues

On CRAN:

4.08 score 4 stars 1 scripts 259 downloads 8 exports 86 dependencies

Last updated 2 months agofrom:910a34e03f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winOKNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winOKNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winOKNov 01 2024
R-4.3-macOKNov 01 2024

Exports:average_clustersaverage_clusters_rowwiseby_cluster_samplingcolor_repelget_labsgg_color_repelggplotly_backgroundlabel_repel

Dependencies:ashaskpassbase64encBHbslibcachemclicolorspacecpp11crosstalkcurldata.tabledigestdistancesdplyrdqrngevaluateextrafontextrafontdbfansifarverfastmapfontawesomefsgenericsggaltggplot2ggrepelgluegtablegtoolshighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevallifecyclemagrittrmapsMASSMatrixmatrixStatsmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigplotlypngproj4promisespurrrR6rappdirsRColorBrewerRcpprlangrmarkdownRttf2pt1sassscalessitmostringistringrsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml