Package: palettome 1.0.1
palettome: Hierarchy-Aware, Interactively Editable Color Palettes for Clusters
Assigns perceptually-informed color palettes to clustered data (e.g. scRNA-seq clusters / cell subtypes from 'Seurat' or plain UMAP coordinate tables), where clusters that belong to the same "family" (e.g. subtypes of T cells) can be colored either harmoniously (shared hue, varying shade) or with maximal contrast (with family membership encoded via a secondary channel). Families can be auto-detected from embedding-space hierarchical clustering or supplied explicitly, and every generated color remains individually overridable, with manual overrides preserved across regeneration. Colors are constructed in the HCL space as in Zeileis et al. (2020) <doi:10.18637/jss.v096.i01>, separated using the CIEDE2000 color difference of Sharma, Wu and Dalal (2005) <doi:10.1002/col.20070>, and checked for color-vision deficiency using the simulation of Machado, Oliveira and Fernandes (2009) <doi:10.1109/TVCG.2009.113>. Core algorithms have no UI dependencies; an optional interactive 'shiny' UI is provided separately.
Authors:
palettome_1.0.1.tar.gz
palettome_1.0.1.zip(r-4.7-any)palettome_1.0.1.zip(r-4.6-any)
palettome_1.0.1.tar.gz(r-4.7-any)palettome_1.0.1.tar.gz(r-4.6-any)
palettome_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
palettome/json (API)
| # Install 'palettome' in R: |
| install.packages('palettome', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/thisishcb/palettome/issues
Last updated from:cbe1961a52. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 165 | ||
| source / vignettes | OK | 280 | ||
| linux-release | OK | 166 | ||
| windows-devel | OK | 126 | ||
| windows-release | OK | 108 | ||
| wasm-release | OK | 153 |
Exports:as_cluster_datacluster_colorscolor_distancecompute_centroidscompute_family_dendrogramcut_familiesdetect_familiesdownsample_stratifiedexport_palette_csvexport_palette_jsonfamily_colorsgenerate_paletteimport_palette_jsonlaunch_palettome_uioptimize_colorplot_dendrogramplot_palette_staticplot_swatchesreset_overridesset_manual_colorsimulate_cvd
Dependencies:colorspacefarverjsonlite
