| mergeMS {Mosaic} | R Documentation |
Merge MS spectra by combining peaks that are within a ppm distance
mergeMS(speclist, ppm = 5, mergeOnly = F)
speclist |
data.frame or matrix containing mz and intensity values of a spectrum (mz in column 1) |
ppm |
accuracy |
mergeOnly |
if TRUE, only the merged spectrum is returned |
NOTE: If multiple peaks inside a spectrum match another spectrum, only the one with higher(?) mz will be retained