View source: R/extract_merge.R
extractMS2spectra | R Documentation |
extractMS2spectra()
is used to extract MS2 spectra from raw data
files, e.g. mzXML files.
extractMS2spectra(MSfile, min_peaks = 2, recalibrate_precursor = FALSE, RTlims = NULL)
MSfile |
An LC-MS/MS raw data file in one of the non-proprietary
formats that can be parsed by |
min_peaks |
Minimum number of peaks in MS2 spectrum, defaults to
|
recalibrate_precursor |
Logical, defaults to |
RTlims |
Retention time interval for the extraction of spectra. Provide
as numeric vector of length 2. Spectra with retention time <
|
A list
with objects of class MS2spectrum
, containing
MS2 spectra extracted from the raw data.
my_spectra <- extractMS2spectra(MSfile = system.file("extdata", "PoolA_R_SE.mzXML", package = "CluMSIDdata"), min_peaks = 4, RTlims = c(0,10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.