show_ggheatmap: Displays ggplot based heatmap composed of multiple ggplot...

Description Usage Arguments Value Examples

Description

Displays ggplot based heatmap composed of multiple ggplot objects

Usage

1
2
3
4
show_ggheatmap(tile, row_dendro, col_dendro, lstrip = NULL, bstrip = NULL,
  cold.height = 0.2, rowd.width = 0.2, lstrip.width = 0.05,
  bstrip.height = 0.05, laxis.width = 0.2, baxis.height = 0.1,
  legend.height = 0.1)

Arguments

tile

ggplot object with a tiled grid of intensity values as produced by heatmap_components

row_dendro

row dendrogram as produced by heatmap_components

col_dendro

col dendromgram as produced by heatmap_components

lstrip

list containing ggplots to display as strips along left axis

bstrip

list containing ggplots to display as strips along bottom axis

cold.height

relative height of column dendro

rowd.width

relative width of row dendro

lstrip.width

relative width of lstrip plots

bstrip.height

relative height of bstrip plots

laxis.width

relative width of left axis

baxis.height

relative height of bottom axis

legend.height

relative height of legend

Value

a gtable object that can be displayed with grid.draw

Examples

1
2
3
data(pms)
hmc <- heatmap_components(x = pms)
show_ggheatmap(hmc$tile,row_dendro = hmc$rowd,col_dendro = hmc$cold)

vlsci/ggplotheatmap documentation built on May 3, 2019, 6:16 p.m.