Learn R Programming

gcxgclab (version 1.1.0)

batch_extract: Extracts data from all cdf files in a folder.

Description

batch_extract Extracts the data from all cdf files in a folder.

Usage

batch_extract(path = ".", mod_t = 10, shift_time = TRUE)

Value

A list object. A list of the extracted data from each file. Each list item is a list of twSo data frames, TIC and full MS data.

Arguments

path

a string object. The path of the folder containing the cdf files to be opened. Default is the current working directory.

mod_t

a float object. The modulation time for the GCxGC sample analysis. Default is 10.

shift_time

a boolean object. Determines whether the Overall Time Index should be shifted to 0. Default is TRUE.

Details

This function opens all cdf files in the specified folder path using extract_data().

References

Examples

Run this code
folder <- system.file("extdata",package="gcxgclab")
data_list <- batch_extract(folder,mod_t=.5)

Run the code above in your browser using DataLab