Optimized Rendering of Fold Changes and Confidence Values
Appends two palettes to form a single palette.
Applies a function to each entry of a colorspace::color palette.
Creates a list with single colors from a palette.
Transforms palette to list of single colors.
Computes the perceptional distance between two neighboring colors
A small introduction to the colorpatch package.
Creates a color function mapping (ratio, conf) tuples to a single colo...
Creates a size function mapping (ratio, conf) to a single color
Creates a color mapping function
Computes the symmetry of a given bi-variate color palette
Creates clustered random data
Creates demonstration data of the colorpatch package
Computes the distance of to colors within a certain colorspace
Creates a color distance function
Finds a uniform color sequence within a non-uniform palette by subsamp...
Creates color palettes and saves them as files
Creates a color function mapping ratio/conf values to a HSV colorspace
Creates a size function mapping ratio/conf to a patch size for bicolor...
Linear interpolation within a colorspace::color palette
Returns the length of a palette (the number of entries).
Creates a linear color space between two colors
Optimizes a bicolor palette
Orders rows and columns of data.
Orders rows and column distances with stats::hclust()
Orders rows and column distances with traveling salesman ordering TSP
Orders a data set given a distance matrix with TSP
Plots the symmetry of a bivariate color scale
Plots the uniformity of a color palette
Reads a sRGB color table as CSV file
Plots a ratio/confidence plot using a bivariate colormap
A stat function for the use with ggplot2
A ggplot2::ggproto class for showing color patches.
A ggplot2 theme for rendering colorpatches (black background)
Transforms a ratio/conf data set to a ggplot dataframe
Shows color patches for encoding fold changes (e.g. log ratios) together with confidence values within a single diagram. This is especially useful for rendering gene expression data as well as other types of differential experiments. In addition to different rendering methods (ggplot extensions) functionality for perceptually optimizing color palettes are provided. Furthermore the package provides extension methods of the colorspace color-class in order to simplify the work with palettes (a.o. length, as.list, and append are supported).