Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

MetaboAnalystR (version 2.0.0)

Read.PeakList: Read peak list files

Description

This function reads peak list files and fills the data into a dataSet object. For NMR peak lists, the input should be formatted as two-columns containing numeric values (ppm, int). Further, this function will change ppm to mz, and add a dummy 'rt'. For MS peak data, the lists can be formatted as two-columns (mz, int), in which case the function will add a dummy 'rt', or the lists can be formatted as three-columns (mz, rt, int).

Usage

Read.PeakList(mSetObj=NA, foldername)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

foldername

name of the folder containing the NMR or MS peak list files to read