hmap: Simple heatmap

Description Usage Arguments Examples

View source: R/plotting.R

Description

Plot a simple heatmap without clustering or dendorgram

Usage

1
2
hmap(mat, col = "RdYlBu", rotate = TRUE, reverse_color = TRUE,
  title = "", ...)

Arguments

mat

A matrix

col

RColorBrewer color palette to use

rotate

Rotate the matrix 90<c2><ba> before calling 'image'

reverse_color

Reverse the color scale

title

Plot title

Examples

1
2
mat <- matrix(seq(100)) 
hmap(mat, title = "Example heatmap")

timoast/stuart documentation built on May 18, 2019, 11:29 p.m.