velocyto.R icon indicating copy to clipboard operation
velocyto.R copied to clipboard

Mat::init(): requested size is too large

Open dhtc opened this issue 5 years ago • 3 comments

fails on a very large single-cell dataset (in this case ~80k cells)

dhtc avatar Aug 31 '19 10:08 dhtc

I'm having a similar issue. Has anyone found a solution to this?

CJ1017 avatar Mar 23 '20 17:03 CJ1017

I know this is an old problem, but I belive I fixed it here: https://github.com/velocyto-team/velocyto.R/pull/126 devtools::install_github("rrydbirk/velocyto.R")

At least it worked on my dataset with the same error. However, that many cells require endless computation time (trust me, the visualization will take days!). I would suggest downsampling instead to, e.g., 20-30k cells max. This could be done through sample(cellnames, 2e4). Also, be aware that Velocyto is not really made for multi-sample inputs.

rrydbirk avatar Apr 22 '20 08:04 rrydbirk

@rrydbirk Hi, thank you SO much for the fix, that was a glorious.

blin100 avatar May 04 '20 21:05 blin100