Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/groupedHeatmap.R
The function uses grid.rect
and grid.rect
to draw a heatmap with grouped rows and columns.
1 2 3 4 | groupedHeatmap(z, frow, fcol,
fillcolours = c("#2166ac","#4393c3","#92c5de","#d1e5f0","#fefefe","#fddbc7","#f4a582","#d6604d","#b2182b"),
bordercolour = "#e0e0e0",
zlim = range(z, na.rm=TRUE))
|
z |
A matrix with row and column names. |
frow |
A |
fcol |
A |
fillcolours |
A |
bordercolour |
Either a |
zlim |
Lower and upper limit of |
The function can be called within other drawing operations from the grid package, e.g. within a viewport.
The function is called for its side effect, drawing text and rectangles on the current viewport.
Wolfgang Huber http://www.ebi.ac.uk/huber
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.