toRMB: Conversion of XCMS-pseudospectra into RMassBank-spectra

Description Usage Arguments Value Author(s) See Also Examples

View source: R/leMsmsRaw.R

Description

Converts a pseudospectrum extracted from XCMS using CAMERA into the msmsWorkspace(at)spectrum-format that RMassBank uses

Usage

1
toRMB(msmsXCMSspecs, cpdID, mode, MS1spec)

Arguments

msmsXCMSspecs

The compoundID of the compound that has been used for the peaklist

cpdID

The compound ID of the substance of the given spectrum

mode

The ionization mode that has been used for the spectrum

MS1spec

The MS1-spectrum from XCMS, which can be optionally supplied

Value

One list element of the (at)specs-entry from an msmsWorkspace

Author(s)

Erik Mueller

See Also

msmsWorkspace-class

Examples

1
2
3
4
5
## Not run: 
		XCMSpspectra <- findmsmsHRperxcms.direct("Glucolesquerellin_2184_1.mzdata", 2184)
     wspecs <- toRMB(XCMSpspectra)

## End(Not run)

RMassBank documentation built on Nov. 8, 2020, 6:06 p.m.