mgf2msp | R Documentation |
This function converts .mgf (Mascot generic format) files into the .msp (mass spectra) format.
mgf2msp(path, MGFfile = "")
path |
address of the .mgf file. |
MGFfile |
name of the file with the .mgf extension. |
The .msp files are saved in the same location.
temp_wd <- tempdir() # just a temporary folder
path_extdata <- system.file("extdata", package = "IDSL.FSA")
MGFfile <- "Training_000.mgf"
file.copy(from = paste0(path_extdata, "/", MGFfile), to = temp_wd)
mgf2msp(path = temp_wd, MGFfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.