loadInfolists {RMassBank}R Documentation

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.

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.

Value

The new workspace with loaded/reset lists.

Author(s)

Michael Stravs

Examples


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


[Package RMassBank version 3.3.2 Index]