An LC-MS feature.
Definition: Feature.h:46
A multi-chromatogram MRM feature.
Definition: MRMFeature.h:26
OpenSwath_Scores & getScores()
get all peakgroup scores
void addFeature(Feature &&feature, const String &key)
std::vector< Feature > FeatureListType
Type definitions.
Definition: MRMFeature.h:32
const OpenSwath_Scores & getScores() const
get all peakgroup scores
Feature & getPrecursorFeature(const String &key)
get a specified precursor feature
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:112
void addPrecursorFeature(Feature &&feature, const String &key)
Feature & getFeature(const String &key)
get a specified feature
const Feature & getPrecursorFeature(const String &key) const
get a specified precursor feature (const)
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:118
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:115
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:107
void IDScoresAsMetaValue(bool decoy, const OpenSwath_Ind_Scores &idscores)
FeatureListType precursor_features_
Definition: MRMFeature.h:109
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition: OpenSwathScores.h:173
A structure to hold the different scores computed by OpenSWATH.
Definition: OpenSwathScores.h:58