Package: colorrepel 0.4.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.4.1.tar.gz
colorrepel_0.4.1.zip(r-4.5)colorrepel_0.4.1.zip(r-4.4)colorrepel_0.4.1.zip(r-4.3)
colorrepel_0.4.1.tgz(r-4.5-any)colorrepel_0.4.1.tgz(r-4.4-any)colorrepel_0.4.1.tgz(r-4.3-any)
colorrepel_0.4.1.tar.gz(r-4.5-noble)colorrepel_0.4.1.tar.gz(r-4.4-noble)
colorrepel_0.4.1.tgz(r-4.4-emscripten)colorrepel_0.4.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'))

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

On CRAN:

4.43 score 9 stars 1 scripts 346 downloads 8 exports 89 dependencies

Last updated 20 days agofrom:eacef59e8e. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 29 2025
R-4.5-winOKJan 29 2025
R-4.5-macOKJan 29 2025
R-4.5-linuxOKJan 29 2025
R-4.4-winOKJan 29 2025
R-4.4-macOKJan 29 2025
R-4.3-winOKJan 29 2025
R-4.3-macOKJan 29 2025

Exports:average_clustersaverage_clusters_rowwiseby_cluster_samplingcolor_repelget_labsgg_color_repelggplotly_backgroundlabel_repel

Dependencies:ashaskpassbase64encBHbslibcachemclicolorspacecpp11crosstalkcurldata.tabledigestdistancesdplyrdqrngevaluateextrafontextrafontdbfansifarverfastmapfontawesomefsgenericsggaltggplot2ggrepelgluegtablegtoolshighrhtmltoolshtmlwidgetshttrisobandjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevallifecyclemagrittrmapsMASSMatrixmatrixStatsmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigplotlyplyrpngPolychromeproj4promisespurrrR6rappdirsRColorBrewerRcpprlangrmarkdownRttf2pt1sassscalesscatterplot3dsitmostringistringrsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml