loadInfolists {RMassBank} | R Documentation |
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.).
loadInfolists(mb, path) loadInfolist(mb, fileName) resetInfolists(mb)
mb |
The |
path |
Directory in which the namelists reside. All CSV files in this directory will be loaded. |
fileName |
A single namelist to be loaded. |
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.
The new workspace with loaded/reset lists.
Michael Stravs
# ## Not run: mb <- resetInfolists(mb) mb <- loadInfolist(mb, "my_csv_infolist.csv") ## End(Not run)