writeMSP | R Documentation |
This function creates MSP format file from peak intensities that can be viewed with NIST.
writeMSP(metlib, metprof, file, append = FALSE)
metlib |
A |
metprof |
A |
file |
A string naming the output file. |
append |
Logical. If |
The generated file can be used to search in other library spectra using the software NIST Search Software. This software is available here (only MS Windows is supported) https://chemdata.nist.gov/dokuwiki/doku.php?id=chemdata:nistlibs
Note: the output file usually has extension .msp
, which conflicts with
MS Windows Software Patch files. Care is needed to not accidentally double
click the file.
Alvaro Cuadros-Inostroza
peakFind
, Profile
, ProfileCleanUp
,
tsLib
, tsMSdata
, tsProfile
# here we use precomputed objects, in particular the reference library
#(refLibrary) and the metabolite profile (metabProfile).
data(TSExample)
# to call the function, simply use the aforementioned objects as inputs
# the file 'output_file.msp' can be open in NIST Search Software
writeMSP(refLibrary, metabProfile, file="output_file.msp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.