[Bioc-devel] Heatplus Heatmap Fails for Hidden Dendrogram and Labels
Dario Strbenac
dstr7320 at uni.sydney.edu.au
Mon Oct 14 07:00:14 CEST 2013
Hello,
The code
plot(regHeatmap(expressionMatrix))
shows a heatmap.
When I add an extra parameter
plot(regHeatmap(expressionMatrix), list(status = "hidden"))
I get the error
Error in plot.new() : outer margins too large (figure region too small)
In addition: Warning message:
In pad1.rm.cm(widths, cm.widths, len = num.cols) :
NAs introduced by coercion
It's strange that the figure region is too small, because it's supposed to be plotting less than for the first example, which worked.
Also, the documentation and the vignette are inconsistent about the values that can be used. In the vignette is the example has status="hide" but the function's documentation writes "hidden means re-rorder".
Providing row and column labels also fails.
str(expressionMatrix)
num [1:45, 1:18] 18.56 46.65 4.52 52.12 0.26 ...
plot(regHeatmap(expressionMatrix, labels = list(labels=list(Row = 1:45, Col = 1:18), side = list(Row = 4, Col = 1))))
Error in mmar[x$labels$Row$side] = x$labels$Row$nrow :
invalid subscript type 'list'
I use version 2.6.0.
--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia
More information about the Bioc-devel
mailing list