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

View source: R/linkDf.R

spectraConditionR Documentation

Get MS/MS spectra that are present in condition

Description

spectraCondition returns the names of Spectra that are present in condition, corresponding to the slot metadata.

Usage

spectraCondition(sps, condition)

Arguments

sps

Spectra object of Spectra package

condition

character, vector with conditions found as columns in the metadata 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

data("spectra", package = "MetCirc")
MetCirc:::spectraCondition(sps = sps_tissue,
    condition = c("SPL", "LIM", "ANT", "STY"))

tnaake/MetCirc documentation built on April 23, 2023, 8:56 a.m.