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. | |
| const BaseFeature & | getFeature () const |
| Returns the feature. | |
| virtual | ~GridFeature () |
| Destructor. | |
| Size | getMapIndex () const |
| Returns the map index. | |
| Size | getFeatureIndex () const |
| Returns the feature index. | |
| Int | getID () const |
| Returns the ID of the GridFeature (same as the feature index). | |
| const std::set< AASequence > & | getAnnotations () const |
| Returns the set of peptide sequences annotated to the cluster center. | |
| DoubleReal | getRT () const |
| Returns the feature RT. | |
| DoubleReal | getMZ () const |
| Returns the feature m/z. | |
Private Attributes | |
| const BaseFeature & | feature_ |
| Reference to the contained feature. | |
| Size | map_index_ |
| Index of the feature map or consensus map. | |
| Size | feature_index_ |
| Index of the feature in the map. | |
| std::set< AASequence > | annotations_ |
| Set of peptide sequences annotated to the feature. | |
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).
| GridFeature | ( | const BaseFeature & | feature, | |
| Size | map_index, | |||
| Size | feature_index | |||
| ) |
Detailed constructor.
| feature | Reference to the contained feature | |
| map_index | Index of the feature map or consensus map | |
| feature_index | Index of the feature in the map |
| virtual ~GridFeature | ( | ) | [virtual] |
Destructor.
| 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.
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.10.0 | Documentation generated on Thu Mar 7 2013 09:42:52 using doxygen 1.7.1 |