An implementation of the OpenSWATH Spectrum Access interface using OpenMS. More...
#include <OpenMS/ANALYSIS/OPENSWATH/DATAACCESS/SpectrumAccessOpenMS.h>
Public Types | |
typedef OpenMS::MSExperiment < Peak1D > | MSExperimentType |
typedef OpenMS::MSSpectrum < Peak1D > | MSSpectrumType |
typedef OpenMS::MSChromatogram < ChromatogramPeak > | MSChromatogramType |
Public Member Functions | |
SpectrumAccessOpenMS (MSExperimentType &ms_experiment) | |
~SpectrumAccessOpenMS () | |
OpenSwath::SpectrumPtr | getSpectrumById (int id) const |
Return a pointer to a spectrum at the given id. More... | |
OpenSwath::SpectrumMeta | getSpectrumMetaById (int id) const |
Returns the meta information for a spectrum. More... | |
std::vector< std::size_t > | getSpectraByRT (double RT, double deltaRT) const |
Return a vector of ids of spectra that are within RT +/- deltaRT. More... | |
size_t | getNrSpectra () const |
Returns the number of spectra available. More... | |
SpectrumSettings | getSpectraMetaInfo (int id) const |
OpenSwath::ChromatogramPtr | getChromatogramById (int id) const |
Return a pointer to a chromatogram at the given id. More... | |
size_t | getNrChromatograms () const |
Returns the number of chromatograms available. More... | |
ChromatogramSettings | getChromatogramMetaInfo (int id) const |
std::string | getChromatogramNativeID (int id) const |
Returns the native id of the chromatogram at the given id. More... | |
![]() | |
virtual | ~ISpectrumAccess () |
Private Attributes | |
MSExperimentType * | ms_experiment_ |
An implementation of the OpenSWATH Spectrum Access interface using OpenMS.
typedef OpenMS::MSExperiment<Peak1D> MSExperimentType |
typedef OpenMS::MSSpectrum<Peak1D> MSSpectrumType |
|
explicit |
~SpectrumAccessOpenMS | ( | ) |
|
virtual |
Return a pointer to a chromatogram at the given id.
Implements ISpectrumAccess.
ChromatogramSettings getChromatogramMetaInfo | ( | int | id | ) | const |
|
virtual |
Returns the native id of the chromatogram at the given id.
Implements ISpectrumAccess.
|
virtual |
Returns the number of chromatograms available.
Implements ISpectrumAccess.
|
virtual |
Returns the number of spectra available.
Implements ISpectrumAccess.
Return a vector of ids of spectra that are within RT +/- deltaRT.
Implements ISpectrumAccess.
SpectrumSettings getSpectraMetaInfo | ( | int | id | ) | const |
|
virtual |
Return a pointer to a spectrum at the given id.
Implements ISpectrumAccess.
|
virtual |
Returns the meta information for a spectrum.
Implements ISpectrumAccess.
|
private |
OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:26 using doxygen 1.8.5 |