shuzhao-li-lab / asari

asari, metabolomics data preprocessing
Other
38 stars 9 forks source link

scipy find_peaks misses some peaks with high baseline noise #19

Closed shuzhao-li closed 1 year ago

shuzhao-li commented 2 years ago

often with high level tail. There's improvement to be made on this peak detection method. find_peaks was designed for signal processing. CWT was published and used in metabolomics data processing, but the merits don't always warrant the complexity.

Possible fix is to invert the mass track and do a 2nd round of peak detection.

Or do inverted peak detection on all peaks and tracks, since LC-MS peaks only trail in one direction.

shuzhao-li commented 1 year ago

Fixed by using local SNR