sgibb / MALDIquant

Quantitative Analysis of Mass Spectrometry Data
https://strimmerlab.github.io/software/maldiquant/
60 stars 25 forks source link

Reduced memory requirement for filterPeaks; closes #71 #72

Closed sgibb closed 2 years ago

sgibb commented 2 years ago

Dear @paoloinglese,

thanks again for your great contribution in PR #71. Unfortunately I can't modify your PR. That's why I closed #71 it and add this new one.

I did just a few minor changes (e.g. replacing the lapply(l, above.min) with tabulate). If you are happy with this changes I will merge it into the main branch.

Best wishes,

Sebastian

BTW: will this make #70 obsolete for you?

codecov[bot] commented 2 years ago

Codecov Report

Merging #72 (f817438) into master (b1ca2ff) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   88.44%   88.46%   +0.01%     
==========================================
  Files          81       82       +1     
  Lines        1411     1413       +2     
==========================================
+ Hits         1248     1250       +2     
  Misses        163      163              
Impacted Files Coverage Δ
R/AllGenerics.R 100.00% <100.00%> (ø)
R/as.list-functions.R 100.00% <100.00%> (ø)
R/as.matrix-functions.R 100.00% <100.00%> (ø)
R/filterPeaks-functions.R 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b1ca2ff...f817438. Read the comment docs.

paoloinglese commented 2 years ago

Dear Sebastian,

That sounds great!

BW, Paolo