| spectraCount {RMassBank} | R Documentation |
Counts the number of acquired spectra for a compound or multiple compounds
spectraCount(s) ## S4 method for signature 'RmbSpectraSet' spectraCount(s) ## S4 method for signature 'RmbSpectraSetList' spectraCount(s) ## S4 method for signature 'msmsWorkspace' spectraCount(s)
s |
The object ( |
For RmbSpectraSet objects, a single number counting the spectra in that object. For RmbSpectraSetList or msmsWorkspace, a
vector with spectra counts for all compounds (RmbSpectraSets) in the object.
RmbSpectraSet: Counts the number of acquired spectra for an RmbSpectraSet
RmbSpectraSetList: Counts the number of acquired spectra for an RmbSpectraSetList
msmsWorkspace: Counts the number of acquired spectra for an msmsWorkSpace
stravsmi