Learn R Programming

paintmap (version 1.0)

paintmap-package: Plotting paintmaps

Description

Plots matrices of colours as grids of coloured squares - aka heatmaps, guaranteeing legible row and column names, without transformation of values, without re-ordering rows or columns, and without dendrograms.

Arguments

Details

The function `bhm' takes a matrix of colours (i.e. a character matrix of descriptions like red or hex-codes), and creates a plot using `grid' graphics.

Examples

Run this code
paintmap(matrix(heat.colors(9), 3, 3, dimnames=list(letters[1:3], letters[4:6])))

Run the code above in your browser using DataLab