Automatic Colors for Multi-Dimensional Data

Assign distinct colors to arbitrary multi-dimensional data, considering its structure.


Chameleon

Overview

chameleon contains a set of functions for automatically assigning colors to multi-dimensional data. The colors are distinct (as much as possible) and also reflect the internal structure of the data (as much as possible).

See the published R package, the rdocumentation, or the latest github version documentation for details. Specifically, the vignette explains why and how to use this package.

Installation

To install it, use:

install.packages('chameleon')

Usage

In general, if you have a matrix whose rows represent some elements/observations and whose columns represent some variables/measurements, then use chameleon::data_colors to obtain a color for each row. You can pass this function the optional groups parameter which assigns a group to each row, to obtain a color for each group instead of a color for each row.

See the published R package, the rdocumentation, or the latest github version documentation's reference section for the list and description of the available functions.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("chameleon")

0.2-3 by Oren Ben-Kiki, 4 years ago


Browse source code at https://github.com/cran/chameleon


Authors: Oren Ben-Kiki [aut, cre] , Weizmann Institute of Science [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports clue, ggplot2, grDevices, stats, umap

Suggests knitr, rmarkdown


See at CRAN