Skip to content

Add sparse matrix support for dot multiplication in function _sort_neighbourhood#8

Open
mrdrgz wants to merge 1 commit intolinnarsson-lab:masterfrom
martarho:add_sparse_matrix_support
Open

Add sparse matrix support for dot multiplication in function _sort_neighbourhood#8
mrdrgz wants to merge 1 commit intolinnarsson-lab:masterfrom
martarho:add_sparse_matrix_support

Conversation

@mrdrgz
Copy link
Copy Markdown

@mrdrgz mrdrgz commented Jan 25, 2017

Hi,

I edited one of the functions in backSPIN to add sparse matrix support to the dot calculation. In my machine, I've noticed a substantial speed increase when running big, sparse matrices derived from DropSeq (from two weeks and unfinished run to 2-3 days with the new version). Using the test data included in the package, the run time is ~10 minutes faster and the output files identical.

I hope these changes help out other people :) It would be cool if it could be an optional feature, but I'm afraid I don't have the time to polish more the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant