An implementation of the OpenSWATH Spectrum Access interface using Disk caching. More...
#include <OpenMS/ANALYSIS/OPENSWATH/DATAACCESS/SpectrumAccessOpenMSCached.h>
Public Types | |
| typedef OpenMS::MSExperiment < Peak1D > | MSExperimentType |
| typedef OpenMS::MSSpectrum < Peak1D > | MSSpectrumType |
Public Member Functions | |
| SpectrumAccessOpenMSCached (String filename) | |
| ~SpectrumAccessOpenMSCached () | |
| OpenSwath::SpectrumPtr | getSpectrumById (int id) const |
| Return a pointer to a spectrum at the given id. | |
| OpenSwath::SpectrumMeta | getSpectrumMetaById (int id) const |
| Returns the meta information for a spectrum. | |
| std::vector< std::size_t > | getSpectraByRT (double RT, double deltaRT) const |
| Return a vector of ids of spectra that are within RT +/- deltaRT. | |
| size_t | getNrSpectra () const |
| Returns the number of spectra available. | |
| SpectrumSettings | getSpectraMetaInfo (int id) const |
| OpenSwath::ChromatogramPtr | getChromatogramById (int id) const |
| Return a pointer to a chromatogram at the given id. | |
| size_t | getNrChromatograms () const |
| Returns the number of chromatograms available. | |
| ChromatogramSettings | getChromatogramMetaInfo (int id) const |
| std::string | getChromatogramNativeID (int id) const |
| Returns the native id of the chromatogram at the given id. | |
Private Attributes | |
| MSExperimentType | meta_ms_experiment_ |
| std::ifstream | ifs_ |
| CachedmzML | cache_ |
| String | filename_ |
| String | filename_cached_ |
An implementation of the OpenSWATH Spectrum Access interface using Disk caching.
This class implements the OpenSWATH Spectrum Access interface (ISpectrumAccess) using the CachedmzML class which is able to read and write a cached mzML file.
| typedef OpenMS::MSExperiment<Peak1D> MSExperimentType |
| typedef OpenMS::MSSpectrum<Peak1D> MSSpectrumType |
| SpectrumAccessOpenMSCached | ( | String | filename | ) | [explicit] |
| OpenSwath::ChromatogramPtr getChromatogramById | ( | int | id | ) | const [virtual] |
Return a pointer to a chromatogram at the given id.
Implements ISpectrumAccess.
| ChromatogramSettings getChromatogramMetaInfo | ( | int | id | ) | const |
| std::string getChromatogramNativeID | ( | int | id | ) | const [virtual] |
Returns the native id of the chromatogram at the given id.
Implements ISpectrumAccess.
| size_t getNrChromatograms | ( | ) | const [virtual] |
Returns the number of chromatograms available.
Implements ISpectrumAccess.
| size_t getNrSpectra | ( | ) | const [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 |
| OpenSwath::SpectrumPtr getSpectrumById | ( | int | id | ) | const [virtual] |
Return a pointer to a spectrum at the given id.
Implements ISpectrumAccess.
| OpenSwath::SpectrumMeta getSpectrumMetaById | ( | int | id | ) | const [virtual] |
Returns the meta information for a spectrum.
Implements ISpectrumAccess.
CachedmzML cache_ [private] |
String filename_cached_ [private] |
std::ifstream ifs_ [private] |
MSExperimentType meta_ms_experiment_ [private] |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:50 using doxygen 1.7.1 |