Limit memory usage with ff instead of loomR
Closed this issue · 1 comments
slowkow commented
Since shiny starts a new instance of R for each visitor, it is critical to limit the memory usage for every app.
One way we do this is by using loomR to load just a single row of the single-cell RNA-seq gene expression matrix for plotting.
- Try the ff package, because it is very flexible and can be used for all of the data, not just for expression matrices. It might also be faster and cheaper than loomR.
This PDF has some examples of how to use ff:
http://ff.r-forge.r-project.org/bit&ff2.1-2_WU_Vienna2010.pdf