importCdf {MALDIquantForeign} | R Documentation |
Import CDF files
Description
This function imports files in NetCDF file format
into MassSpectrum-class
or
MassPeaks-class
objects.
Please note that the RNetCDF is needed.
Usage
importCdf(path, ...)
Arguments
path |
|
... |
arguments to be passed to
|
Value
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Author(s)
Sebastian Gibb
References
https://strimmerlab.github.io/software/maldiquant/
See Also
MassSpectrum-class
,
MassPeaks-class
Examples
library("MALDIquant")
library("MALDIquantForeign")
## get example directory
exampleDirectory <- system.file("exampledata", package="MALDIquantForeign")
## import
if (requireNamespace("RNetCDF", quietly=TRUE)) {
s <- importCdf(exampleDirectory)
} else {
message("You have to install the RNetCDF package to use importCdf.")
}
[Package MALDIquantForeign version 0.14.1 Index]