spectraCond {MetCirc} | R Documentation |
'spectraCond' returns the names of 'spectra' that are present in condition, corresponding to the slot 'elementMetadata@listData'.
spectraCond(spectra, condition)
spectra |
'MSpectra' object of 'MSnbase' package |
condition |
'character', vector with conditions found as columns in the elementMetadata slot |
Helper function in 'createLink0df' and 'shinyCircos'.
'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.)
Thomas Naake thomasnaake@googlemail.com
data("spectra", package = "MetCirc") MetCirc:::spectraCond(spectra_tissue, condition = c("SPL", "LIM", "ANT", "STY"))