Export to imzML files
This function exports
MassSpectrum-class
objects into imzML files.
## S4 method for signature 'MassSpectrum' exportImzMl(x, file, force=FALSE, processed=TRUE, coordinates=NULL, pixelSize=c(100, 100), ...) ## S4 method for signature 'list' exportImzMl(x, path, force=FALSE, processed=TRUE, coordinates=NULL, pixelSize=c(100, 100), ...)
x |
a |
file |
|
force |
|
processed |
|
coordinates |
|
pixelSize |
|
path |
|
... |
arguments to be passed to internal functions. |
Sebastian Gibb
Schramm T, Hester A, Klinkert I, Both J-P, Heeren RMA, Brunelle A,
Laprevote O, Desbenoit N, Robbe M-F, Stoeckli M, Spengler B, Roempp A
(2012)
imzML - A common data format for the flexible exchange and processing of mass
spectrometry imaging data.
Journal of Proteomics 75 (16):5106-5110.
http://dx.doi.org/10.1016/j.jprot.2012.07.026
## Not run: library("MALDIquant") library("MALDIquantForeign") s <- list(createMassSpectrum(mass=1:5, intensity=1:5), createMassSpectrum(mass=1:5, intensity=1:5)) ## export a list of spectra exportImzMl(s, path="processed.imzML", coordinates=cbind(x=1:2, y=c(1, 1))) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.