loadInfolists: Load MassBank compound information lists

Description Usage Arguments Details Value Author(s) Examples

View source: R/createMassBank.R

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

1
2
3
4
5
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

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

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