This function reads a .mea file (supporting gzip compressed .mea.gz files as well) and returns a GCIMS object

read_mea(filename)

Arguments

filename

A .mea or a .mea.gz path to a file

Value

The GC-IMS sample in a GCIMSSample object

Details

Thanks to Daniel Sanders and Thomas Wortelmann from GAS Dortmund for providing the necessary support to implement this function.

Examples

mea_file <- system.file("extdata/sample_formats/small.mea.gz", package = "GCIMS")
sample <- read_mea(mea_file)