An LC-MS feature.
Definition: Feature.h:72
A multi-chromatogram MRM feature.
Definition: MRMFeature.h:52
OpenSwath_Scores & getScores()
get all peakgroup scores
void addFeature(Feature &&feature, const String &key)
std::vector< Feature > FeatureListType
Type definitions.
Definition: MRMFeature.h:58
const OpenSwath_Scores & getScores() const
get all peakgroup scores
const Feature & getPrecursorFeature(String key) const
get a specified precursor feature (const)
const Feature & getFeature(const String &key) const
get a specified feature (const)
void getPrecursorFeatureIDs(std::vector< String > &result) const
get a list of IDs of available precursor features
OpenSwath_Scores pg_scores_
peak group scores
Definition: MRMFeature.h:138
void addPrecursorFeature(Feature &&feature, const String &key)
Feature & getFeature(const String &key)
get a specified feature
MRMFeature & operator=(MRMFeature &&) &=default
Move assignment operator.
~MRMFeature() override
Destructor.
MRMFeature(MRMFeature &&rhs)=default
Move constructor.
MRMFeature & operator=(const MRMFeature &rhs)
Assignment operator.
std::map< String, int > precursor_feature_map_
map native ids to the precursor features
Definition: MRMFeature.h:144
void setScores(const OpenSwath_Scores &scores)
set all peakgroup scores
void addScore(const String &score_name, double score)
set a single peakgroup score
const std::vector< Feature > & getFeatures() const
get a list of features
MRMFeature(const MRMFeature &rhs)
Copy constructor.
void addFeature(const Feature &feature, const String &key)
Adds an feature from a single chromatogram into the feature.
std::map< String, int > feature_map_
map native ids to the features
Definition: MRMFeature.h:141
Feature & getPrecursorFeature(String key)
get a specified precursor feature
void addPrecursorFeature(const Feature &feature, const String &key)
Adds a precursor feature from a single chromatogram into the feature.
void getFeatureIDs(std::vector< String > &result) const
get a list of IDs of available features
FeatureListType features_
Definition: MRMFeature.h:133
void IDScoresAsMetaValue(bool decoy, const OpenSwath_Ind_Scores &idscores)
FeatureListType precursor_features_
Definition: MRMFeature.h:135
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Definition: OpenSwathScores.h:195
A structure to hold the different scores computed by OpenSWATH.
Definition: OpenSwathScores.h:83