exportImzMl,MassSpectrum-method | R Documentation |
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
https://strimmerlab.github.io/software/maldiquant/
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.
\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.jprot.2012.07.026")}
MassSpectrum-class
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.