spectraCond: Get MS/MS spectra that are present in condition

Description Usage Arguments Details Value Author(s) Examples

View source: R/linkDf.R

Description

'spectraCond' returns the names of 'spectra' that are present in condition, corresponding to the slot 'elementMetadata@listData'.

Usage

1

Arguments

spectra

'MSpectra' object of 'MSnbase' package

condition

'character', vector with conditions found as columns in the elementMetadata slot

Details

Helper function in 'createLink0df' and 'shinyCircos'.

Value

'list', named 'list' with 'character' vector as entries that contains the names of the MS/MS entries in 'spectra' that are present in the 'conditon' (tissues, stress conditions, time points, etc.)

Author(s)

Thomas Naake thomasnaake@googlemail.com

Examples

1
2
3
data("spectra", package = "MetCirc")
MetCirc:::spectraCond(spectra_tissue,
    condition = c("SPL", "LIM", "ANT", "STY"))

MetCirc documentation built on Nov. 8, 2020, 8:26 p.m.