Learn R Programming

enviPick (version 1.5)

writePeaklist: Export a .csv peak table from an MSlist object

Description

Given an MSlist object containing peak picking results from mzpick, export a peak table.csv.

Usage

writePeaklist(MSlist, directory, filename, overwrite = FALSE)

Arguments

MSlist
A MSlist object generated by enviPickwrap or mzpick
directory
Character string with the directory to write to
filename
Name of the .csv file to create
overwrite
TRUE/FALSE

Value

.csv table, with columns:m/z (mean m/z of peak measurements), var_m/z (m/z variation of peak measurements), max_int (base-line corrected maximum intensity), sum_int (sum of all base-line corrected peak measurement intensities), RT (retention time at maximum intensity), minRT (start peak RT), maxRT (end peak RT), peak# (peak ID number), EIC# (EIC ID number), Score (not yet implemented)