View source: R/average_spectrum.r
average_spectrum | R Documentation |
Internal function that merges a list of normalized spectra that belong to the same ID
average_spectrum(splist, ppm_window = 10, clean = F)
splist |
List of extracted spectra. Each spectrum is a data matrix with two columns: m/z and intensity |
ppm_window |
m/z tolerance window (in ppm) for spectra alignment |
clean |
Logical. TRUE if peaks not present in all spectra are filtered. |
new_spectrum ~ The aligned, (filtered) and averaged consensus spectra: data matrix with two columns (m/z and intensity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.