Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

IDSpectrumMapper Class Reference

#include <OpenMS/ANALYSIS/ID/IDSpectrumMapper.h>

List of all members.


Detailed Description

Annotate a MSExperiment instances with ProteinIdentification instances.

The identifications stored in a ProteinIdentification instance can be added to the corresponding spectrum. Furthermore the annotations that are present can be retrieved.

Public Member Functions

 IDSpectrumMapper ()
 Constructor.
template<class PeakT>
UInt annotate (MSExperiment< PeakT > &experiment, const std::vector< PeptideIdentification > &identifications, DoubleReal precision=0.01f) throw (Exception::MissingInformation)
 Annotates the spectra belonging to the experiment.


Constructor & Destructor Documentation

IDSpectrumMapper (  ) 

Constructor.


Member Function Documentation

UInt annotate ( MSExperiment< PeakT > &  experiment,
const std::vector< PeptideIdentification > &  identifications,
DoubleReal  precision = 0.01f 
) throw (Exception::MissingInformation) [inline]

Annotates the spectra belonging to the experiment.

The retention time and mass-to-charge ratio of the PeptideIdentification have to be given in the MetaInfoInterface ('MZ' and 'RT').

The exception MissingInformation is thrown if the MetaInfoInterface of identifications does not contain 'MZ' and 'RT'.


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:41 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1