View source: R/SpectraFromMetIDQ.R
| createSpectraFromSummarizedExperiment | R Documentation |
Function to create a Spectra object from a SummarizedExperiment
object.
createSpectraFromSummarizedExperiment(se, rt)
se |
|
rt |
|
The sample name (colnames(se)) is taken to create the
dataOrigin that is in down-stream functions used to distinguish the
origins of the resulting Spectra's entries.
The Spectra object only contains the the shared features between
se and rt.
Thomas Naake
## create rt object
rt <- loadRt()
## create se object
path <- system.file("metidq", package = "MsQualityUtils")
se_l <- createListOfSummarizedExperimentFromMetIDQ(path = path, sheet = 1)
se <- se_l[[1]]
## run createSpectraFromSummarizedExperiment
createSpectraFromSummarizedExperiment(se = se, rt = rt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.