Learn R Programming

RMassBank (version 2.0.0)

checkSpectra: 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)
"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: