Repository navigation
Conversation
|
Thanks @gbrsales !! I'll review it as soon as possible and get back to you. |
101b9f7 to
bac7e8f
Compare
|
Hi @gbrsales thanks again, please wait to push changes until I'm done with the review, otherwise makes the review harder for me. |
|
Hi @gbrsales thanks again for this PR with this first optimization of the GSVA random walk for dense expression data. While reviewing this PR, I found a few bugs in the original R and C code, which I have fixed in
Several of these touch code that this PR moves into 1. Bring the branch up to date with
|
|
A quick heads-up: devel has moved on by one commit since my review (926e1e5, which replaces So when you rebase onto upstream/devel (or merge it), you'll get one extra conflict in DESCRIPTION, besides the one in src/ks_test.c described above in my review: If you follow the suggestion to drop bench and msigdbr from Suggests, just keep the devel line, batchtools, foreach, doParallel. The ks_test.c conflict is exactly the same as before, so the instructions in my review still apply unchanged. |
Summary
Speed up the GSVA scoring stage by evaluating the KS random walk only at the ranks of the genes in the set under test.
Changes Made
gsva_rnd_walkto accumulate over thekranked genes belonging to the set under exam. The sparse and NA-handling variants are unchanged.ranks.c,rnd_walk.c).test_gsva_newapi.R) is now rounded to 5 significant digits: the rewritten walk sums in a different order, so results differ from previous versions in trailing digits only while remaining numerically equivalent.benchmarks), excluded from the package build via.Rbuildignore(could be dropped from the PR if not wanted outside development).Speedup results
Benchmark of the scoring stage (
gsvaColScores) on PBMC68K profiles with different MSigDB collections. Medians of 2–5bench::markiterations. baseline = devel, current = this branch.