cmap / cmapPy

Assorted tools for interacting with .gct, .gctx files and other Connectivity Map (Broad Institute) data/tools
https://clue.io/cmapPy/index.html
BSD 3-Clause "New" or "Revised" License
124 stars 74 forks source link

drastically reduce memory requirements for math.fast_cov & math.fast_corr #45

Closed dllahr closed 6 years ago

dllahr commented 6 years ago

I modified math.fast_cov and mast.fast_corr to drastically reduce the amount of memory they use. On a related note, I also added a destination parameter to indicate an array where results should be stored, allowing results to be written directly to a memmap file.

oena commented 6 years ago

Looks good to me, thanks @dllahr!