exportSpectra: exportSpectra

Description Usage Arguments Details Value Author(s)

View source: R/exportSpectra.R

Description

Write the deconvoluted mass spectra to an external file

Usage

1
exportSpectra(object, sample, spectraID, normalize = TRUE)

Arguments

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

Details

Write a .msp file of the deconvoluted mass spectra. Usfull to try to identify the unknown spectra using NIST Search.

Value

a .msp file ready to be read using NIST search

Author(s)

riccardo.romoli@unifi.it


flagme documentation built on Nov. 8, 2020, 5:24 p.m.