addPeaks {RMassBank} | R Documentation |
Loads a table with additional peaks to add to the MassBank spectra. Required
columns are cpdID, scan, int, mzFound, OK
.
addPeaks(mb, filename_or_dataframe)
mb |
The |
filename_or_dataframe |
Filename of the csv file, or name of the R dataframe containing the peaklist. |
All peaks with OK=1 will be included in the spectra.
The mbWorkspace
with loaded additional peaks.
Michael Stravs
## Not run: addPeaks("myrun_additionalPeaks.csv")