Learn R Programming

RMassBank (version 2.0.0)

addPeaks: Add additional peaks to spectra

Description

Loads a table with additional peaks to add to the MassBank spectra. Required columns are cpdID, scan, int, mzFound, OK.

Usage

addPeaks(mb, filename_or_dataframe)

Arguments

mb
The mbWorkspace to load the peaks into.
filename_or_dataframe
Filename of the csv file, or name of the R dataframe containing the peaklist.

Value

The mbWorkspace with loaded additional peaks.

Details

All peaks with OK=1 will be included in the spectra.

See Also

mbWorkflow

Examples

Run this code

	## Not run: addPeaks("myrun_additionalPeaks.csv")

Run the code above in your browser using DataLab