View source: R/createListOfSpectra.R
| createListOfSpectra | R Documentation |
The function createListOfSpectra returns a list of Spectra
objects.
When type == "MetIDQ", the function will return a list of length 2.
The first entry contains a Spectra object with all features found in
the experiment files. The second entry contains a Spectra object with
the features found in the experiment files that have available information on
their retention time.
When type == "mzML", the function will return a lit of length 1. The
entry contains a Spectra object derived from all mzML files in
path.
createListOfSpectra(type = c("MetIDQ", "mzML"), ...)
type |
|
... |
arguments passed to
|
If type == "MetIDQ", the argument rt can be passed to the
function. rt has to be a SummarizedExperiment object
containing retention time values in the assay slot. By default,
createListOfSpectra loads
an in-house library of retention time values from the metabolites of the
Biocrates MxP Quant 500 kit that are separated by liquid chromatography.
The Spectra object only contains the the shared features between
se and rt.
list of Spectra object(s)
Thomas Naake
## type == "MetIDQ"
path <- system.file("metidq", package = "MsQualityUtils")
createListOfSpectra(type = "MetIDQ", path = path, sheet = 1)
## type == "mzML"
path <- system.file("sciex", package = "msdata")
createListOfSpectra(type = "mzML", path = path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.