Internal Function *
This function takes a .mzxml
/.mzML
file and imports
the MS/MS data only to further create a list containing two sublists
with the scan information (fisrt sublist) and the MS2 spectra (second sublist)
Usage
read_mzxml(file, threads = 3, mode = c("inMemory", "onDisk"))
Examples
ProcA2_file <- system.file("extdata",
"ProcyanidinA2_neg_20eV.mzXML",
package = "MS2extract"
)
ProcA2_raw <- read_mzxml(ProcA2_file)
#> • Processing: ProcyanidinA2_neg_20eV.mzXML
#> • Found 1 CE value: 20
#> • Remember to match CE velues in spec_metadata when exporting your library