This data set fails to complete, for both the Sage coexpression code and the UCLA-WGCNA code. In the former case the error is
Code Block |
---|
Error in matrix(0, ncol(x), ncol(x)) : too many elements specified
|
and in the latter case the error is:
Code Block |
---|
...
Error in matrix(0, nBlockGenes, nBlockGenes) : too many elements specified |
...
|
According to
http://stat.ethz.ch/R-manual/R-devel/library/base/html/Memory-limits.html
"On all builds of R, the maximum length (number of elements) of a vector is 2^31 - 1 ~ 2*10^9, as lengths are stored as signed integers.".
If Therefore, if an algorithm requires a matrix of size #probes x #probes (e.g. a correlation or TOM 'distance matrix' for clustering), then # probes <46340is limited to 46340. Clearly this colon cancer data set, with 54,675 probes exceeds this limit.
...