filterRt-GCIMSDataset-method.Rd
Filter GCIMSDataset samples by retention time
# S4 method for class 'GCIMSDataset'
filterRt(object, rt_range)
A GCIMSDataset object
The minimum and maximum retention times to extract (length 2 vector)
The given object, with a delayed operation to filter retention times
base_dir <- system.file("extdata", "sample_formats", package = "GCIMS")
annot <- data.frame(SampleID = "Sample1", FileName = "small.mea.gz")
dataset <- GCIMSDataset$new(annot, base_dir)
filterRt(dataset, rt_range = c(5, 50))