rformassspectrometry / Spectra

Low level infrastructure to handle MS spectra
https://rformassspectrometry.github.io/Spectra/
34 stars 24 forks source link

Add a deisotope function #283

Closed jorainer closed 1 year ago

jorainer commented 1 year ago

Add a deisotope method for Spectra that removes all isotopic peaks from each spectrum keeping only the monoisotopic peak for each isotope group. Isotope groups will be determined using the MetaboCoreUtils::isotopologues function. Note that this method might not be suitable for proteomics data or compounds with elements other than CHNOPS.