Skip to content

Conversation

@anders-w-rasmussen
Copy link

@anders-w-rasmussen anders-w-rasmussen commented Mar 11, 2025

Re-implemented the compute_deviations function with multiprocessing with X (fragment counts) in shared memory. Also changed some of the matrix operations.

I looked at the original chromVAR paper so math might be slightly different.

Correlation with original implementation seems good (~0.99 on example data). I time with n_jobs=1 it is 2-3X faster and with n_jobs=5 it is 9X faster.

(this version doesn't use compute_expectation which fails existing test)

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