View source: R/extract_merge.R
mergeTolerance | R Documentation |
mergeTolerance()
merges two spectra by identifying common peaks with
a given m/z tolerance. It can be used with Reduce()
to merge more
than two spectra.
mergeTolerance(x, y, tolerance = 1e-05)
x, y |
MS2 spectra as objects of class |
tolerance |
The m/z tolerance used for merging. If two peaks are within
tolerance, they are regarded as the same. Defaults to |
A matrix with m/z in the first column and separate columns for intensities in the respective spectra. If peaks were merged, their m/z corresponds to the mean of the two original m/z.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.