decorate_title(heatmap, code, slice = 1, which = c("column", "row"))
Arguments
heatmap
name of the heatmap
code
code that adds graphics in the selected heatmap body
slice
index of row slices in the heatmap
which
on rows or on columns?
Value
The function returns no value.
Details
There is a viewport for row titles and column title in the heatmap.
This function contructs the name of the viewport,
goes to the viewport by seekViewport and applies code
to that viewport.