spectraCount: Count MS2 spectra per compound

Description Usage Arguments Value Methods (by class) Author(s)

Description

Counts the number of acquired spectra for a compound or multiple compounds

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
spectraCount(s)

## S4 method for signature 'RmbSpectraSet'
spectraCount(s)

## S4 method for signature 'RmbSpectraSetList'
spectraCount(s)

## S4 method for signature 'msmsWorkspace'
spectraCount(s)

Arguments

s

The object (RmbSpectraSet, RmbSpectraSetList or msmsWorkspace) to count the spectra in.

Value

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.

Methods (by class)

Author(s)

stravsmi


RMassBank documentation built on Nov. 8, 2020, 6:06 p.m.