
Read 'Agilent ChemStation' report files
Source:R/read_chemstation_report.R
read_chemstation_reports.RdReads peak tables from 'Agilent ChemStation' Report.TXT files, or from the
Result.xml files 'ChemStation' writes when set up to export its results.
Only Result.xml records where each peak starts and ends, so it is read in
preference to a Report.TXT in the same directory.
Arguments
- paths
Paths to 'ChemStation'
Report.TXTorResult.xmlfiles.- peaktable_format
Whether to return peak tables in the standard
chromatographrlayout (the default) or with all the columns the file provides (original). Achromatographrtable has the columnsrt,start,end,area,heightandFWHM(the full width at half maximum), with times in the same unit as the format's chromatograms andNAwhere the file does not record a value.- metadata_format
Format to output metadata. Either
chromconverterorraw.- data_format
Deprecated. Use
peaktable_formatinstead.
Value
A peak_list: a list with one element per report, named by its
.D directory, each holding one peak table per signal, named by
wavelength.