Hierarchy-Aware, Interactively Editable Color Palettes for Clusters


[Up] [Top]

Documentation for package ‘palettome’ version 1.0.1

Help Pages

as_cluster_data Build a palettome data object from a data frame or Seurat object
as_cluster_data.data.frame Build a palettome data object from a data frame or Seurat object
as_cluster_data.Seurat Build a palettome data object from a data frame or Seurat object
cluster_colors Get cluster colors as a named vector or a plain data frame
color_distance Pairwise perceptual color distance
compute_centroids Compute per-cluster centroids and cell counts
compute_family_dendrogram Build a cluster-distance dendrogram for family detection
cut_families Cut a precomputed dendrogram into families
detect_families Detect (or pass through) cluster families
downsample_stratified Stratified per-cluster subsample for interactive preview
export_palette_csv Export cluster and/or family color tables as CSV
export_palette_json Export a palette session to JSON
family_colors Get family colors as a named vector or a plain data frame
generate_palette Generate a cluster/family color palette
import_palette_json Import a palette session from JSON
launch_palettome_ui Launch the interactive Palettome Shiny UI
optimize_color Snap a hand-picked color into the palette's aesthetic envelope
plot_dendrogram Plot a dendrogram preview of detected families
plot_palette_static Static plot of an embedding colored by the current palette
plot_swatches Standalone swatch/legend figure, grouped by family
reset_overrides Reset manual color overrides
set_manual_color Manually set a cluster's or family's color
simulate_cvd Simulate color-vision deficiency on a palette