| importCdf | R Documentation |
This function imports files in NetCDF file format
into MassSpectrum-class or
MassPeaks-class objects.
Please note that the RNetCDF is needed.
importCdf(path, ...)
path |
|
... |
arguments to be passed to
|
a list of MassSpectrum-class or
MassPeaks-class objects (depending on the
centroided argument).
Sebastian Gibb
https://strimmerlab.github.io/software/maldiquant/
MassSpectrum-class,
MassPeaks-class
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.")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.