readMGF2: Extracting metadata and a list of spectra from mgf file

View source: R/readMGF2.R

readMGF2R Documentation

Extracting metadata and a list of spectra from mgf file

Description

The function extracts a dataframe of metadata and a list of spectra from mgf file or

Usage

readMGF2(con)

Arguments

con

Name of the input library, the file extension must be mgf

Value

  • sp: List of all extracted spectra. Each spectrum is a data matrix with two columns: m/z and intensity

  • metadata: Data frame containing metadata of extracted scans. PEPMASS and RT are updated based on actually-detected scans. Following five columns are added: FILENAME, MSLEVEL, TIC, MASS_DEV, SCANNUMBER and SCANS


daniellyz/MergeION documentation built on Oct. 19, 2022, 1:56 p.m.