rformassspectrometry / MetaboCoreUtils

Core utilities for metabolomics.
https://rformassspectrometry.github.io/MetaboCoreUtils/index.html
9 stars 6 forks source link

refactor: drop elements with zero counts (fix #57) #58

Closed sgibb closed 2 years ago

sgibb commented 2 years ago

This PR closes #57.

Now substractElements drops all zero counts but doesn't return NA if all counts are zero but "". IMHO an invalid subtraction should return something different than a valid subtraction.