mgf2msp: MGF to MSP

View source: R/mgf2msp.R

mgf2mspR Documentation

MGF to MSP

Description

This function converts .mgf (Mascot generic format) files into the .msp (mass spectra) format.

Usage

mgf2msp(path, MGFfile = "")

Arguments

path

address of the .mgf file.

MGFfile

name of the file with the .mgf extension.

Value

The .msp files are saved in the same location.

Examples


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)


IDSL.FSA documentation built on July 9, 2023, 6:45 p.m.

Related to mgf2msp in IDSL.FSA...