exportSpectra: exportSpectra

exportSpectraR Documentation

exportSpectra

Description

Write the mass spectum into a .msp file to be used in NIST search.

Usage

exportSpectra(object, outList, spectra, normalize = TRUE)

Arguments

object

an object of class "peaksDataset"

outList

an object created using the gatherInfo() function

spectra

numeric. The number of the mass spectra to be printed. It correspond to the number of the peak in the plot() and the number of the peak in the gatherInfo() list.

normalize

logical. If the mass spectra has to be normalized to 100

Details

Write the mass spectum into a .msp file to be used in NIST search.

Value

a .msp file

Author(s)

riccardo.romoli@unifi.com


rromoli/flagme documentation built on Feb. 10, 2023, 12:59 a.m.