checkSpectra {RMassBank} | R Documentation

## Check if a spectra set is found, complete, empty

### Description

Checks if a specific compound (`RmbSpectraSet`) was found with child spectra in the raw file (`found`), has a complete set of MS2 spectra with useful peaks (`complete`), or is empty (note: spectra are currently not ever marked empty - empty should mean found, but no useful peaks at all. This is not yet currently tested.)

### Usage

    checkSpectra(s, property)

    ## S4 method for signature 'RmbSpectraSet,character'
    checkSpectra(s, property)

### Arguments

`s` | The (`RmbSpectraSet`) to check
`property` | The property to check (`found`, `complete` or `empty`)

### Value

`TRUE` or `FALSE`

### Methods (by class)

- `s = RmbSpectraSet,property = character`:

### Author(s)

stravsmi

[Package RMassBank version 2.10.1 Index]