View source: R/read_mgf_opti.R
read_mgf_opti | R Documentation |
This function reads a Mascot Generic Format (MGF) file while mimicking the
MsBackendMgf
implementation but using significantly lower memory,
making it more suitable for large MGF files.
read_mgf_opti(
f,
msLevel = 2L,
mapping = Spectra::spectraVariableMapping(MsBackendMgf::MsBackendMgf())
)
f |
A character string specifying the path to a single MGF file. |
msLevel |
An integer specifying the MS level. Default is 2L. |
mapping |
A named character vector mapping MGF fields to standard spectra variables.
Defaults to |
A DataFrame
containing the parsed spectra data.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.