Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(calculateBpc): calculate base peak chromatogram #31

Merged
merged 2 commits into from
Jun 23, 2017
Merged

Conversation

maasencioh
Copy link
Member

No description provided.

@maasencioh maasencioh self-assigned this Jun 23, 2017
@maasencioh maasencioh requested review from lpatiny and targos June 23, 2017 13:37
@codecov-io
Copy link

codecov-io commented Jun 23, 2017

Codecov Report

Merging #31 into master will increase coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
+ Coverage   95.45%   95.57%   +0.11%     
==========================================
  Files          29       30       +1     
  Lines         484      497      +13     
  Branches      103      106       +3     
==========================================
+ Hits          462      475      +13     
  Misses         20       20              
  Partials        2        2
Impacted Files Coverage Δ
src/ms/calculateBpc.js 100% <100%> (ø)
src/Chromatogram.js 97.18% <100%> (+0.16%) ⬆️

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 1018301...74b0c26. Read the comment docs.

var massSpectra = ms.data;
var bpc = [];
for (var massSpectrum of massSpectra) {
bpc.push(Math.max(...massSpectrum[1]));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maasencioh maasencioh merged commit f66f273 into master Jun 23, 2017
@maasencioh maasencioh deleted the feat/bpm branch June 23, 2017 14:32
maasencioh added a commit that referenced this pull request Jun 26, 2017
* feat(calculateBpc): calculate base peak chromatogram

* chore(calculateBpc): use ml-array-max for performance
maasencioh added a commit that referenced this pull request Jun 26, 2017
* feat: initial baseline implementation

* feat: initial baseline implementation

* Add test case

* Release v2.0.7

* Upgrade dependencies

* feat(calculateBpc): calculate base peak chromatogram (#31)

* feat(calculateBpc): calculate base peak chromatogram

* chore(calculateBpc): use ml-array-max for performance

* chore(integrate1D): add baseline correction

* test: fix merge conflicts

* test: remove async tags
maasencioh added a commit that referenced this pull request Jun 26, 2017
* feat: initial baseline implementation

* feat: initial baseline implementation

* Add test case

* Release v2.0.7

* Upgrade dependencies

* feat(calculateBpc): calculate base peak chromatogram (#31)

* feat(calculateBpc): calculate base peak chromatogram

* chore(calculateBpc): use ml-array-max for performance

* chore(integrate1D): add baseline correction

* test: fix merge conflicts

* test: remove async tags
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.

3 participants