write.imzML {MSI} R Documentation

Save and write the given ms-imaging mzpack object as imzML file

Description

Usage

write.imzML(mzpack, file,
    res = 17,
    ionMode = Positive,
    dims = NULL);

Arguments

mzpack

[as mzPack]

file

[as string]

res

the spatial resolution value. [as double]

ionMode

the ion polarity mode value. [as IonModes]

dims

an integer vector for set the size of the ms-imaging canvas dimension

Details

Authors

BioNovoGene

Value

this function returns data object of type boolean.

clr value class

Examples

 let msi_rawdata = open.mzpack(file = "/path/to/msi_rawdata.mzPack");
 
 # convert the mzpack object into imzML format
 msi_rawdata
 |> write.imzML(file = "/path/to/msi_rawdata.imzML", dims = [500, 450]);

[Package MSI version 1.0.0.0 Index]