rc.export.msp.rc: rc.export.msp.rc

View source: R/rc.export.msp.rc.R

rc.export.msp.rcR Documentation

rc.export.msp.rc

Description

Cluster annotation function: inference of 'M' - molecular weight of the compound giving rise to each spectrum - using the InterpretMSSpectrum::findMain function

Usage

rc.export.msp.rc(ramclustObj = NULL, one.file = TRUE, mzdec = 1)

Arguments

ramclustObj

ramclustR object to annotate.

one.file

logical, should all msp spectra be written to one file? If false, each spectrum is an individual file.

mzdec

integer. Number of decimal points to export mass values with.

Details

exports files to a directory called 'spectra'. If one.file = FALSE, a new directory 'spectra/msp' is created to hold the individual msp files. if do.findman has been run, spectra are written as ms2 spectra, else as ms1.

Value

nothing, just exports files to the working directory

Author(s)

Corey Broeckling


RAMClustR documentation built on Oct. 20, 2023, 5:08 p.m.