Learn R Programming

RMassBank (version 2.0.0)

loadInfolists: Load MassBank compound information lists

Description

Loads MassBank compound information lists (i.e. the lists which were created in the first two steps of the MassBank mbWorkflow and subsequently edited by hand.).

Usage

loadInfolists(mb, path)
loadInfolist(mb, fileName)
resetInfolists(mb)

Arguments

mb
The mbWorkspace to load/reset the lists in.
path
Directory in which the namelists reside. All CSV files in this directory will be loaded.
fileName
A single namelist to be loaded.

Value

The new workspace with loaded/reset lists.

Details

resetInfolists clears the information lists, i.e. it creates a new empty list in mbdata_archive. loadInfolist loads a single CSV file, whereas loadInfolists loads a whole directory.

Examples

Run this code

#
## Not run: mb <- resetInfolists(mb)
# 	mb <- loadInfolist(mb, "my_csv_infolist.csv")## End(Not run)

Run the code above in your browser using DataLab