superheat
superheat copied to clipboard
Feature(?) request: allow one column heatmap
superheat::superheat(as.matrix(c(2,3,3)))
gives Error in 1:ncol(X) : argument of length 0
while superheat::superheat(cbind(as.matrix(c(2,3,3)), as.matrix(c(2,3,3)))
works just fine (as expected)
This may be as simple as using ,drop=FALSE
for any as.matrix
operations?