77 SIZE_OF_ANNOTATIONSTATE
80 static const std::string NamesOfAnnotationState[SIZE_OF_ANNOTATIONSTATE];
97 quality_ = feature.quality_;
98 charge_ = feature.charge_;
99 width_ = feature.width_;
102 peptides_ = std::move(feature.peptides_);
103 primary_id_ = std::move(feature.primary_id_);
104 id_matches_ = std::move(feature.id_matches_);
126 QualityType getQuality()
const;
128 void setQuality(QualityType q);
156 WidthType getWidth()
const;
158 void setWidth(WidthType fwhm);
161 const ChargeType& getCharge()
const;
164 void setCharge(
const ChargeType& ch);
181 const std::vector<PeptideIdentification>& getPeptideIdentifications()
const;
184 std::vector<PeptideIdentification>& getPeptideIdentifications();
187 void setPeptideIdentifications(
const std::vector<PeptideIdentification>& peptides);
190 void sortPeptideIdentifications();
194 AnnotationState getAnnotationState()
const;
199 bool hasPrimaryID()
const;
209 void clearPrimaryID();
215 const std::set<IdentificationData::ObservationMatchRef>& getIDMatches()
const;
218 std::set<IdentificationData::ObservationMatchRef>& getIDMatches();
246 std::optional<IdentificationData::IdentifiedMolecule>
primary_id_;
bool operator()(const BaseFeature &left, const QualityType &right) const
Definition: BaseFeature.h:137
Definition: BaseFeature.h:73
A 2-dimensional raw data point or peak.
Definition: Peak2D.h:54
Int ChargeType
Type of charge values.
Definition: BaseFeature.h:66
Compare by quality.
Definition: BaseFeature.h:130
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
QualityType getQuality() const
A basic LC-MS feature.
Definition: BaseFeature.h:58
BaseFeature(BaseFeature &&feature) noexcept
Definition: BaseFeature.h:94
bool operator()(const QualityType &left, const BaseFeature &right) const
Definition: BaseFeature.h:142
Definition: BaseFeature.h:75
QualityType quality_
Overall quality measure of the feature.
Definition: BaseFeature.h:234
bool operator()(const QualityType &left, const QualityType &right) const
Definition: BaseFeature.h:147
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
Variant type holding Peptide/Compound/Oligo references and convenience functions. ...
Definition: IdentifiedMolecule.h:54
Definition: BaseFeature.h:74
WidthType width_
Width (FWHM) for the feature. The default value is 0.0, a feature finding algorithm can compute this ...
Definition: BaseFeature.h:240
Definition: BaseFeature.h:76
bool operator()(const BaseFeature &left, const BaseFeature &right) const
Definition: BaseFeature.h:132
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
A 2-dimensional raw data point or peak with meta information.
Definition: RichPeak2D.h:52
float WidthType
Type of feature width/FWHM (RT)
Definition: BaseFeature.h:68
std::optional< IdentificationData::IdentifiedMolecule > primary_id_
primary ID (peptide, RNA, compound) assigned to this feature
Definition: BaseFeature.h:246
AnnotationState
state of identification, use getAnnotationState() to query it
Definition: BaseFeature.h:71
float QualityType
Definition: BaseFeature.h:64
Representation of a Peak2D, RichPeak2D or Feature .
Definition: FeatureHandle.h:57
std::vector< PeptideIdentification > peptides_
PeptideIdentifications belonging to the feature.
Definition: BaseFeature.h:243
int Int
Signed integer type.
Definition: Types.h:102
structure that maps references of corresponding objects after copying
Definition: IdentificationData.h:210
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition: MetaData.h:45
std::set< IdentificationData::ObservationMatchRef > id_matches_
set of observation matches (e.g. PSMs) with IDs for this feature
Definition: BaseFeature.h:249
ChargeType charge_
Charge of the peptide represented by this feature. The default value is 0, which represents an unknow...
Definition: BaseFeature.h:237