Description Details Author(s) Examples
Provides functions for creating heatmap components and then arranging them using gtable
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
This package provides two main functions, heatmap_components, and show_ggheatmap.
Ira Cooke
Maintainer: Ira Cooke <iracooke@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # A very simple example
#
data(pms)
hmc <- heatmap_components(x = pms)
show_ggheatmap(hmc$tile,row_dendro = hmc$rowd,col_dendro = hmc$cold)
#
# Slightly more complex example demonstrating how plots can be manipulated
# between calls to heatmap_components and show_ggheatmap
#
data(squid)
count_cols = c("Slime","VM","DM","Arms","Brain")
#
# stripcols argument appends extra columns into the tile dataframe
# these are available to add layers to tile prior to display
#
hmc <- heatmap_components(squid[,count_cols],stripdata = data.frame(iBAQ=squid[,1]))
hmc$tile + geom_point(aes(x="Slime",size=log(iBAQ)))
hm <- show_ggheatmap(hmc$tile,row_dendro = NULL,col_dendro = hmc$cold)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.