colorpatch0.1.2 package

Optimized Rendering of Fold Changes and Confidence Values

append-methods

Appends two palettes to form a single palette.

apply.color

Applies a function to each entry of a colorspace::color palette.

as.list-methods

Creates a list with single colors from a palette.

as

Transforms palette to list of single colors.

ColorDistance

Computes the perceptional distance between two neighboring colors

colorpatch-package

A small introduction to the colorpatch package.

ColorPatchColorFun

Creates a color function mapping (ratio, conf) tuples to a single colo...

ColorPatchSizeFun

Creates a size function mapping (ratio, conf) to a single color

ColorRgbFun

Creates a color mapping function

ComputeSymmetry

Computes the symmetry of a given bi-variate color palette

CreateClusteredData

Creates clustered random data

CreateExampleData

Creates demonstration data of the colorpatch package

DistColor

Computes the distance of to colors within a certain colorspace

DistColorFun

Creates a color distance function

FindUniformSequence

Finds a uniform color sequence within a non-uniform palette by subsamp...

GeneratePalettes

Creates color palettes and saves them as files

HsvColorFun

Creates a color function mapping ratio/conf values to a HSV colorspace

HsvSizeFun

Creates a size function mapping ratio/conf to a patch size for bicolor...

InterpolateColorFun

Linear interpolation within a colorspace::color palette

length-methods

Returns the length of a palette (the number of entries).

LinColorSpace

Creates a linear color space between two colors

OptimizeBiColor

Optimizes a bicolor palette

OrderData

Orders rows and columns of data.

OrderDataHclust

Orders rows and column distances with stats::hclust()

OrderDataTSP

Orders rows and column distances with traveling salesman ordering TSP

OrderWithTSP

Orders a data set given a distance matrix with TSP

PlotSymmetry

Plots the symmetry of a bivariate color scale

PlotUniformity

Plots the uniformity of a color palette

ReadArraySRGB

Reads a sRGB color table as CSV file

stat_bicolor

Plots a ratio/confidence plot using a bivariate colormap

stat_colorpatch

A stat function for the use with ggplot2

StatColorPatch

A ggplot2::ggproto class for showing color patches.

theme_colorpatch

A ggplot2 theme for rendering colorpatches (black background)

ToDataFrame

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).