Reads 'Chromatotec' .Chrom files.
Arguments
- path
The path to 'Chromatotec'
.Chromfile.- what
Whether to extract chromatograms (
chrom) and/orpeak_tabledata. Accepts multiple arguments, and defaults to both.- format_out
Class of output. Either
matrix,data.frame, ordata.table.- data_format
Whether to return data in
wide(default) orlongformat.- read_metadata
Logical. Whether to attach metadata. Defaults to
TRUE.- metadata_format
Format to output metadata. Either
chromconverter(standardized field names) orraw(vendor field names, unmapped).- collapse
Logical. Whether to collapse lists that only contain a single element. Defaults to
TRUE.- 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.
Value
A chromatogram and/or peak table from the specified path, according
to the value of what, with times in minutes. Chromatograms are returned in
the format specified by format_out. The rows of the peak table that
report a total over most of the run rather than a peak, such as
NMTHC-EqC6 and THC_PAMS, are only kept with
peaktable_format = "original". In the original table, Start and End
are where integration of the peak starts and ends, and SubstanceIndex
appears to be the position of its substance in the run's substance table
(0 for an unnamed peak); U1, U3 and U4 have not been identified.
