Description Usage Arguments Details Value
msp file from compMS2 class object
1 2 |
object |
a "compMS2" class object |
studyName |
character a study name tag for your dataset. |
existingMsp |
character a full path or web address of an existing msp database file to concatenate to. The new entries will appear underneath the last entry of the existing msp datafile file. If this argument is supplied then this file will be overwritten. |
outputDir |
character full path to a directory to write the msp file to.
Default is to take the current working directory obtained from |
onlyCommented |
logical (default = FALSE) should only metabolites recorded in the comments table be included or if true all of the composite spectra. |
this function converts a compMS2 class object to an msp database file inserting experimental details and taking annotation data from the comments table and best annotations. This creates a means to database successive experiments and potentially concatenate to a laboratories existing spectral database. In this way previously annotated spectra from other experiments can be matched to new datasets. A unique splash code is also generated for each composite spectrum and added to each database entry in the msp file. install splash R from GitHub using devtools: devtools::install_github("berlinguyinca/spectra-hash", subdir="splashR")
the msp file will be written to a file tagged with the study name and date in the output directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.