Reputation: 821
heatmap and pheatmap of R failed to produce a cluster by throwing this error.
Error in vector("double", length) : vector size specified is too large
Does any one know how could I visualize that big matrix ?
Upvotes: 3
Views: 1095
Reputation: 263352
The hexbin package is designed to efficiently summarize large count 2D displays. Only with more than ten million points does this slow down somewhat on my 3 year-old Mac. (Honest, @James, I did think of this independently.) This is a minor mod to the example in one of its help pages:
require(hexbin)
h <- hexbin(rnorm(10000),rnorm(10000))
plot(h, colramp= function(n){magent(n,beg=15,end=225)})
Upvotes: 6