selectSpectra {RMassBank} | R Documentation |
From a list of RmbSpectraSet
s, returns the spectra which match a criterion (found, complete, empty as in checkSpectra
).
This can be returned either as a TRUE/FALSE
vector, as a vector of indices for matching elements, as a vector of RmbSpectraSet
objects
matching the conditions, or as a vector of RmbSpectraSet
objects NOT matching the conditions (sic!).
selectSpectra(s, property, value = "logical") ## S4 method for signature 'RmbSpectraSetList,character' selectSpectra(s, property, value = "logical") ## S4 method for signature 'msmsWorkspace,character' selectSpectra(s, property, value = "logical")
s |
The |
property |
The property to check ( |
value |
|
As described above.
s = RmbSpectraSetList,property = character
: A method for selecting spectra from a spectra set list
s = msmsWorkspace,property = character
: A method for selecting spectra from an msmsWorkspace
stravsmi