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

MRMFeature Class Reference

A multi-chromatogram MRM feature. More...

#include <OpenMS/KERNEL/MRMFeature.h>

Inheritance diagram for MRMFeature:
Feature BaseFeature RichPeak2D Peak2D MetaInfoInterface UniqueIdInterface

List of all members.

Public Types

typedef std::vector< FeatureFeatureListType
 Type definitions.
typedef std::map< String, doublePGScoresType
 Peak group score type.

Public Member Functions

Constructors and Destructor

 MRMFeature ()
 Default constructor.
 MRMFeature (const MRMFeature &rhs)
 Copy constructor.
MRMFeatureoperator= (const MRMFeature &rhs)
 Assignment operator.
virtual ~MRMFeature ()
 Destructor.
Accessors

const PGScoresTypegetScores () const
 get all peakgroup scores
double getScore (const String &score_name)
 get a single peakgroup score
FeaturegetFeature (String key)
 get a specified feature
void setScores (const PGScoresType &scores)
 set all peakgroup scores
void addScore (const String &score_name, double score)
 set a single peakgroup score
void addFeature (Feature &feature, const String &key)
 Adds an feature from a single chromatogram into the feature.
const std::vector< Feature > & getFeatures () const
void getFeatureIDs (std::vector< String > &result) const

Protected Attributes

FeatureListType features_
PGScoresType pg_scores_
 peak group scores
std::map< String, int > feature_map_
 map native ids to the features

Detailed Description

A multi-chromatogram MRM feature.

An MRM feature contains corresponding features in multiple chromatograms, it is thus a representation of a peak group. The individual features in each chromatogram are represented by OpenMS Features.


Member Typedef Documentation

typedef std::vector<Feature> FeatureListType

Type definitions.

Feature list type

typedef std::map<String, double> PGScoresType

Peak group score type.


Constructor & Destructor Documentation

MRMFeature (  ) 

Default constructor.

MRMFeature ( const MRMFeature rhs  ) 

Copy constructor.

virtual ~MRMFeature (  )  [virtual]

Destructor.


Member Function Documentation

void addFeature ( Feature feature,
const String key 
)

Adds an feature from a single chromatogram into the feature.

Referenced by MRMTransitionGroupPicker::createMRMFeature().

void addScore ( const String score_name,
double  score 
)

set a single peakgroup score

Referenced by MRMFeatureFinderScoring::calculateSwathScores_().

Feature& getFeature ( String  key  ) 

get a specified feature

Referenced by EmgScoring::calcElutionFitScore().

void getFeatureIDs ( std::vector< String > &  result  )  const
const std::vector<Feature>& getFeatures (  )  const
double getScore ( const String score_name  ) 

get a single peakgroup score

const PGScoresType& getScores (  )  const

get all peakgroup scores

MRMFeature& operator= ( const MRMFeature rhs  ) 

Assignment operator.

void setScores ( const PGScoresType scores  ) 

set all peakgroup scores


Member Data Documentation

std::map<String, int> feature_map_ [protected]

map native ids to the features

PGScoresType pg_scores_ [protected]

peak group scores


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:55 using doxygen 1.7.1