Description Usage Arguments Details Value Author(s)
View source: R/exportSpectra.R
Write the deconvoluted mass spectra to an external file
1 | exportSpectra(object, sample, spectraID, normalize = TRUE)
|
object |
an object of class "peaksDataset" where to keep the mass spectra; both abundance (y) than m/z (x) |
sample |
character, the sample from were to plot the mass spectra |
spectraID |
numerical, a vector containing the index of the spectra to be plotted. |
normalize |
logical, if TRUE normalize the intensity of the mass peak to 100, the most abundant is 100 are scaled consequetially |
Write a .msp file of the deconvoluted mass spectra. Usfull to try to identify the unknown spectra using NIST Search.
a .msp file ready to be read using NIST search
riccardo.romoli@unifi.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.