GCIMSSample-class.RdGCIMS Sample is an S4 class to store one sample with the drift and retention time ranges and other relevant attributes (GC column, drift tube length...) if available
The actual spectra is stored in the data slot, in a matrix,
where the first index (rows) corresponds to drift times and the
second to retention times (columns).
drift_timenumeric. (required)
retention_timenumeric. (required)
datamatrix A matrix with drift time in the rows and retention time in columns. (required)
gc_columncharacter. (optional) The type of chromatographic column used
drift_tube_lengthnumeric (optional) The length of the drift tube, in mm
drift_gascharacter. (optional) The drift gas used (e.g "nitrogen")
paramslist (optional) Arbitrary list of parameters and annotations
historycharacter. A character vector with a summary of information of the processing details the sample has gone through already
filepathcharacter. A string with the path to the raw data
descriptionA string (optional). A sample name or ID or description used in plots
proc_paramslist (internal). Data processing parameters computed and used internally.
peaksA data frame (internal). The peak list, typically set using findPeaks().
Use peaks() to get/set this.
peaks_debug_infoA list with arbitrary debug information from findPeaks().
baselineA matrix of the same dimensions as data with the baseline. Use estimateBaseline() to estimate it
and baseline() to get or set it.
class_version"numeric_version" (internal) The GCIMSSample object defines internally a class version, so if a GCIMSSample object is saved, the GCIMS package is updated and the GCIMSSample class has changed during the upgrade it may be possible to upgrade the previously saved object when it's loaded.