Description Usage Arguments Value Author(s) References See Also Examples
This function imports files in imzML file format
into MassSpectrum-class
or
MassPeaks-class
objects.
1 | importImzMl(path, coordinates = NULL, ...)
|
path |
|
coordinates |
|
... |
arguments to be passed to
|
a list
of MassSpectrum-class
or
MassPeaks-class
objects (depending on the
centroided
argument).
Sebastian Gibb
http://strimmerlab.org/software/maldiquant/,
Definition of imzML
format:
http://www.imzml.org/
MassSpectrum-class
,
MassPeaks-class
1 2 3 4 5 6 7 8 9 10 11 12 | library("MALDIquant")
library("MALDIquantForeign")
## get example directory
exampleDirectory <- system.file("exampledata", package="MALDIquantForeign")
## import
s <- importImzMl(file.path(exampleDirectory, "tiny_continuous.imzML"))
## import only spectra for pixel 1,1 and 2,1
s <- importImzMl(file.path(exampleDirectory, "tiny_continuous.imzML"),
coordinates = cbind(1:2, c(1, 1)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.