addMB {RMassBank} | R Documentation

## MassBank-record Addition

### Description

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

### Usage

    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

    ## Not run:
    		addMB("filepath_to_records/RC00001.txt")

    ## End(Not run)

[Package RMassBank version 3.2.0 Index]