addMB: MassBank-record Addition

Description Usage Arguments Value Author(s) See Also Examples

View source: R/leMsmsRaw.R

Description

Adds the peaklist of a MassBank-Record to the specs of an msmsWorkspace

Usage

1
addMB(w, cpdID, fileName, mode)

Arguments

w

The msmsWorkspace that the peaklist should be added to.

cpdID

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

fileName

The path to the record

mode

The ionization mode that has been used to create the record

Value

The msmsWorkspace with the additional peaklist from the record

Author(s)

Erik Mueller

See Also

addPeaksManually

Examples

1
2
3
4
## Not run: 
		addMB("filepath_to_records/RC00001.txt")

## End(Not run)

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