writeMGF2 | R Documentation |
The function writes a dataframe of metadata and a list of spectra to a mgf file
writeMGF2(library, con)
library |
List that contains 2 elements.
|
con |
Name of the output library, the file extension must be mgf |
data(DRUG_THERMO_LIBRARY) # Add new metadata "RESOLUTION = HIGH" to all scans: library2$metadata$RESOLUTION = "HIGH" # Write into a new mgf file: writeMGF2(library2,"library_V2_bis.mgf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.