| Title: | Example GC-MS data for TargetSearch Package |
|---|---|
| Description: | Example files of GC-MS data for the TargetSearch Package. The package contains raw NetCDF files from a E.coli salt stress experiment, extracted peak lists, and sample metadata required for a GC-MS analysis. The raw data has been restricted for demonstration purposes. |
| Authors: | Alvaro Cuadros-Inostroza [aut, cre], Jan Lisec [aut], Henning Redestig [aut], Matt Hannah [aut] |
| Maintainer: | Alvaro Cuadros-Inostroza <[email protected]> |
| License: | GPL (>= 2) |
| Version: | 1.50.0 |
| Built: | 2026-10-10 11:01:20 UTC |
| Source: | https://github.com/bioc/TargetSearchData |
A set of GC-MS example data files for TargetSearch. This package
contains raw NetCDF files from an E. coli salt stress experiment (Jozefczuk et al., 2010), extracted
peak list of each NetCDF file, and three tab-delimited text files: a sample description, a
reference library, and a retention index marker definition. The chromatographic data is a
subset of the original NetCDF files restricted to 200-400 seconds and 85-320 m/z.
The package does not provide any data structure, only
exemplary experiment files for TargetSearch.
Helper functions are also provided. These are needed by TargetSearch
examples to retrieve the paths to the demo files. These functions are prefixed with
tsd_ and their documentation can be found here. Most likely,
they are not needed elsewhere.
All files are in the gc-ms-data subdirectory. The following
files are provided.
samples.txt. Tab-delimited file of the samples metadata.
It provides the CDF raw file of each sample, the so-called measurement day (MD), and the
time point of the experiment. The MD is coded as a single digit year (starting from 2000),
plus three digits that represent the day of that year. In this file, “7235” means
“2007-Oct-23”. The time point is relative to the experiment and does not represent
real time, i.e., 1 is first sampling point of the experiment, 3 the third time point, and so on.
See ImportSamples.
rimLimits.txt. Tab-delimited file of the retention time markers (or FAMEs).
The first two columns are the lower and upper window search of each marker in seconds, while
the third column is the retention index (RI) standard of the marker. The “mass” column
is not present as it set to 87 m/z by default.
See ImportFameSettings for details.
library.txt. Tab-delimited file of the metabolite library to be searched.
Each row corresponds to a single metabolite, while columns are the metabolite name, expected
RI, the search window to search around this RI (plus or minus), their selective masses (which
are searched for), and their mass spectra.
See ImportLibrary for details.
7235eg*.cdf. NetCDF files of the baseline-corrected raw metabolite
data. One file correspond to one sample, though the retention time and m/z values are
restricted to 200-400 seconds and 85-320. This was done to reduce the package size.
RI_7235eg*.txt. Retention Index corrected and extracted
peaks of the corresponding NetCDF files. These files are simple tab-delimited
files containing the retention time, retention index, and spectra. Each
spectrum is a list of m/z and intensities separated by colons (:).
Alvaro Cuadros-Inostroza.
Jozefczuk, S. et al. Mol Syst Biol (2010) 6:364. doi:10.1038/msb.2010.18.
The import functions in TargetSearch
ImportLibrary,
ImportSamples,
ImportFameSettings,
and the helper functions.
A collection of simple functions to quickly access the
TargetSearchData data files. These functions are used throughout
TargetSearch examples. See details for an
explanation of each function.
tsd_path() tsd_data_path(datapath='gc-ms-data') tsd_file_path(filename, ...) tsd_cdffiles(...) tsd_rifiles(...)tsd_path() tsd_data_path(datapath='gc-ms-data') tsd_file_path(filename, ...) tsd_cdffiles(...) tsd_rifiles(...)
datapath |
A |
filename |
A |
... |
parameters passed to |
tsd_path() returns the path of TargetSearchData. It is
a shorthand for find.package('TargetSearchData').
tsd_data_path() returns the full path of the directory where the
CDFs and other example files of TargetSearch
are located. This path is hard-coded to 'gc-ms-data'. The path can be
changed by setting the data path parameter datapath, though this is
unnecessary in general.
tsd_file_path() returns the absolute path of one or more files
(filename) inside the data directory (datapath). The function
checks whether the file exist and fails if not. The name of the first
missing file is printed.
tsd_cdffiles() and tsd_rifiles() are convenience functions that
return the list of NetCDF files and RI files contained in the data path,
respectively.
All functions return a character vector. They are paths to files or directories
within TargetSearchData. The functions tsd_cdffiles and
tsd_rifiles return a list of files.
Alvaro Cuadros-Inostroza
The package TargetSearch
# get TargetSearchData path path <- tsd_path() # get TargetSearchData data path path <- tsd_data_path() # get the path to the files "samples.txt" in TargetSearchData path <- tsd_file_path('samples.txt') # get the list of CDF files cdffiles <- tsd_cdffiles() # get the list of RI files rifiles <- tsd_rifiles()# get TargetSearchData path path <- tsd_path() # get TargetSearchData data path path <- tsd_data_path() # get the path to the files "samples.txt" in TargetSearchData path <- tsd_file_path('samples.txt') # get the list of CDF files cdffiles <- tsd_cdffiles() # get the list of RI files rifiles <- tsd_rifiles()