# Repel Visually Similar Colors for Colorblind Users in Various Plots

## Documentation for package ‘colorrepel’ version 0.4.3

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

average_clusters | Average expression values per cluster
average_clusters_rowwise | Rowwise math from matrix/data.frame per cluster based on another vector/metadata, similar to clustifyr::average_clusters but ids as rows
by_cluster_sampling | Balanced downsampling of matrix/data.frame based on cluster assignment vector
calc_distance | Distance calculations for spatial coord
color_repel | Reorder ggplot colors to maximize color differences in space
get_labs | Extract custom labels from ggplot object
ggplotly_background | Prepare ggplot object to ggplotly-compatible layer and image layer
gg_color_repel | Wrapper to reorder ggplot colors to maximize color differences in space
label_repel | ggrepel labeling of clusters
matrix2_score | Score matrix distances
matrix2_score_n | Score matrix distances in multiple combinations