Description Usage Arguments Value Examples
Displays ggplot based heatmap composed of multiple ggplot objects
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)
|
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 |
a gtable object that can be displayed with grid.draw
1 2 3 | data(pms)
hmc <- heatmap_components(x = pms)
show_ggheatmap(hmc$tile,row_dendro = hmc$rowd,col_dendro = hmc$cold)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.