Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Attributes | List of all members
GridFeature Class Reference

Representation of a feature in a hash grid. More...

#include <OpenMS/DATASTRUCTURES/GridFeature.h>

Public Member Functions

 GridFeature (const BaseFeature &feature, Size map_index, Size feature_index)
 Detailed constructor. More...
 
const BaseFeaturegetFeature () const
 Returns the feature. More...
 
virtual ~GridFeature ()
 Destructor. More...
 
Size getMapIndex () const
 Returns the map index. More...
 
Size getFeatureIndex () const
 Returns the feature index. More...
 
Int getID () const
 Returns the ID of the GridFeature (same as the feature index) More...
 
const std::set< AASequence > & getAnnotations () const
 Returns the set of peptide sequences annotated to the cluster center. More...
 
DoubleReal getRT () const
 Returns the feature RT. More...
 
DoubleReal getMZ () const
 Returns the feature m/z. More...
 

Private Attributes

const BaseFeaturefeature_
 Reference to the contained feature. More...
 
Size map_index_
 Index of the feature map or consensus map. More...
 
Size feature_index_
 Index of the feature in the map. More...
 
std::set< AASequenceannotations_
 Set of peptide sequences annotated to the feature. More...
 

Detailed Description

Representation of a feature in a hash grid.

A GridFeature can be stored in a HashGrid and points to a BaseFeature (Feature or ConsensusFeature). Used for QT feature grouping (see QTClusterFinder).

Constructor & Destructor Documentation

GridFeature ( const BaseFeature feature,
Size  map_index,
Size  feature_index 
)

Detailed constructor.

Parameters
featureReference to the contained feature
map_indexIndex of the feature map or consensus map
feature_indexIndex of the feature in the map
virtual ~GridFeature ( )
virtual

Destructor.

Member Function Documentation

const std::set<AASequence>& getAnnotations ( ) const

Returns the set of peptide sequences annotated to the cluster center.

const BaseFeature& getFeature ( ) const

Returns the feature.

Size getFeatureIndex ( ) const

Returns the feature index.

Int getID ( ) const

Returns the ID of the GridFeature (same as the feature index)

Size getMapIndex ( ) const

Returns the map index.

DoubleReal getMZ ( ) const

Returns the feature m/z.

DoubleReal getRT ( ) const

Returns the feature RT.

Member Data Documentation

std::set<AASequence> annotations_
private

Set of peptide sequences annotated to the feature.

const BaseFeature& feature_
private

Reference to the contained feature.

Size feature_index_
private

Index of the feature in the map.

Size map_index_
private

Index of the feature map or consensus map.


OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:29 using doxygen 1.8.5