View source: R/createListOfMsExperimentFromListOfSpectra.R
| createListOfMsExperimentFromListOfSpectra | R Documentation |
MsExperiment objects from list of
Spectra objectsThe function createListOfMsExperimentFromListOfSpectra will
provide the input (after subsetting the resulting list) for the
MsQuality workflow for QC metric calculation.
The function createListOfMsExperimentFromListOfSpectra returns a
list of MsExperiment objects. It will take as input a list of
Spectra objects.
createListOfMsExperimentFromListOfSpectra(sps_l)
sps_l |
|
When type == "MetIDQ", the function will return a list of length 2.
The first entry contains a MsExperiment object with all features found
in the experiment files. The second entry contains a MsExperiment
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 MsExperiment object derived from all mzML files in
path.
Thomas Naake
## type == "MetIDQ"
path <- system.file("metidq", package = "MsQualityUtils")
sps_l <- createListOfSpectra(type = "MetIDQ", path = path, sheet = 1)
createListOfMsExperimentFromListOfSpectra(sps_l = sps_l)
## type == "mzML"
path <- system.file("sciex", package = "msdata")
sps_l <- createListOfSpectra(type = "mzML", path = path)
createListOfMsExperimentFromListOfSpectra(sps_l = sps_l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.