readCDF: Read raw mass spectrometry data in netCDF files

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/readCDF.R

Description

This function read raw netCDF files and provides a list of peaks and retention time of scans.

Usage

1
    readCDF(path = getwd())

Arguments

path

a string including the full path of the CDF files, optional.

Details

This function gets a path which is optional. In the path, it searches for CDF files and reads them one by one. An RData file is created for each file separately, keeping the original file names. Each file includes a list of peaks, i.e. a combination of mass and intensities of scans, and the retention times of the scans.

Value

a character vector inlcuding the names of the imported netCDF files. The output then can be used with getPeak function.

Author(s)

Mo R. Nezami Ranjbar

References

http://omics.georgetown.edu/SIMAT.html

See Also

readMSL

Examples

1
2
3
4
5
    # load an example data set
    extdata.path <- system.file("extdata", package = "SIMAT")
    
    # read CDF files
    file.name <- readCDF(path = extdata.path)

Example output

Loading required package: Rcpp

SIMAT documentation built on Nov. 8, 2020, 8:27 p.m.