readCDF {SIMAT} | R Documentation

## Read raw mass spectrometry data in netCDF files

### Description

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

### Usage

        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

        # load an example data set
        extdata.path <- system.file("extdata", package = "SIMAT")

        # read CDF files
        file.name <- readCDF(path = extdata.path)

[Package SIMAT version 1.14.1 Index]