addPeaks: Add additional peaks to spectra

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/createMassBank.R

Description

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

Usage

1
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.

Details

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

Value

The mbWorkspace with loaded additional peaks.

Author(s)

Michael Stravs

See Also

mbWorkflow

Examples

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

sneumann/RMassBank documentation built on Oct. 20, 2020, 3:19 p.m.