Skip to content
Prev 4796 / 21307 Next

[Bioc-devel] Heatplus Heatmap Fails for Hidden Dendrogram and Labels

Hi Dario,

thanks for the feedback. Let's take this one by one:
The plot.new() error is typical for a too small output device - increase
the window size or the width/height of the file you are plotting to, and
it should go away. This may happen even if the plot causing the error is
technically "smaller" than one which does not - for each plot, the
device is split into multiple parts (using layout()), and the error will
occur if just one of the parts (say for the legend) is too small.
Yeah, that's a bit of sloppy programming on my side: any value that is
not "yes" or "no" will be interpreted as "hidden", so both status="hide"
and status="hidden" will work the same way.
You have to switch the "labels" and Row/Col in the command:

## Example setting labels
require(Heatplus)
example(regHeatmap) ## generate some data
map1 = regHeatmap(mat, labels=list(Row=list(labels=1:20),
Col=list(labels=1:5)))
plot(map1)


HTH, alexander