createSpectraFromMetIDQ: Create Spectra object from a list of SummarizedExperiment...

View source: R/SpectraFromMetIDQ.R

createSpectraFromMetIDQR Documentation

Create Spectra object from a list of SummarizedExperiment objects

Description

The function createSpectraFromMetIDQ will a Spectra object from list of SummarizedExperiment objects.

Usage

createSpectraFromMetIDQ(se_l, rt)

Arguments

se_l

list of SummarizedExperiment objects

rt

SummarizedExperiment object containing the retention time in the assay slot

Details

createSpectraFromMetIDQ will stop if there are duplicate sample names across the SummarizedExperiment objects.

Author(s)

Thomas Naake

Examples

## create rt object
rt <- loadRt()

## create se object
path <- system.file("metidq", package = "MsQualityUtils")
se_l <- createListOfSummarizedExperimentFromMetIDQ(path = path, sheet = 1)

## run the createSpectraFromMetIDQ
createSpectraFromMetIDQ(se_l = se_l, rt = rt)

tnaake/MsQualityUtils documentation built on Feb. 3, 2023, 6:32 a.m.