View source: R/Functions_deprecated.R
quickMergeMS | R Documentation |
NOTE: This function is deprecated, use MassTools::mergeMS !
quickMergeMS(speclist, ppm = 5, mzdiff = 0.0005, removeNoise = NULL, count = F)
speclist |
list of spectra (matrix with mz and intensity values) |
ppm |
min difference between peaks in ppm |
mzdiff |
min difference between peaks in m/z |
removeNoise |
if not Null, will remove peaks with intensities below this fraction of maximum intensity |
count |
if true, will count number of peaks that were merged into each peak in the resulting spectrum (will return a 3-column matrix) |
Merge MS spectra, best used with noise-free spectra. Will merge all peaks that are EITHER within ppm OR within mzdiff range (mzdiff typically used to allow larger ppm difference in low mz range)
Replacement for mergeMS(..., mergeOnly = T)
a merged mass spectrum as a matrix with mz and intensity values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.