MMV-Lab / MSI-Explorer

BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Spectral alignment #78

Open nmmtsaw opened 1 year ago

nmmtsaw commented 1 year ago

To perform alignment of spectra so that peaks will have a consistent m/z-value. To align the spectra, we need to provide a vector of reference m/z values of expected peaks. We can simply use the peaks of the mean spectrum.

Reference - https://github.com/kuwisdelu/Cardinal/blob/devel/R/process2-mzAlign.R