|
WidthType | getWidth () const |
| Non-mutable access to the features width (full width at half max, FWHM) More...
|
|
void | setWidth (WidthType fwhm) |
| Set the width of the feature (FWHM) More...
|
|
const ChargeType & | getCharge () const |
| Non-mutable access to charge state. More...
|
|
void | setCharge (const ChargeType &ch) |
| Set charge state. More...
|
|
BaseFeature & | operator= (const BaseFeature &rhs)=default |
| Assignment operator. More...
|
|
BaseFeature & | operator= (BaseFeature &&rhs) &=default |
| Move Assignment operator. More...
|
|
bool | operator== (const BaseFeature &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const BaseFeature &rhs) const |
| Inequality operator. More...
|
|
AnnotationState | getAnnotationState () const |
| state of peptide identifications attached to this feature. If one ID has multiple hits, the output depends on the top-hit only More...
|
|
|
|
| BaseFeature () |
|
| BaseFeature (const BaseFeature &feature)=default |
| Copy constructor. More...
|
|
| BaseFeature (BaseFeature &&feature) noexcept |
|
| BaseFeature (const BaseFeature &rhs, UInt64 map_index) |
| Copy constructor with a new map_index. More...
|
|
| BaseFeature (const Peak2D &point) |
| Constructor from raw data point. More...
|
|
| BaseFeature (const RichPeak2D &point) |
| Constructor from raw data point with meta information. More...
|
|
| BaseFeature (const FeatureHandle &fh) |
| Constructor from a featurehandle. More...
|
|
| ~BaseFeature () override |
| Destructor. More...
|
|
|
Non-mutable access to the overall quality
|
QualityType | getQuality () const |
|
void | setQuality (QualityType q) |
| Set the overall quality. More...
|
|
|
returns a const reference to the PeptideIdentification vector
|
const std::vector< PeptideIdentification > & | getPeptideIdentifications () const |
|
std::vector< PeptideIdentification > & | getPeptideIdentifications () |
| returns a mutable reference to the PeptideIdentification vector More...
|
|
void | setPeptideIdentifications (const std::vector< PeptideIdentification > &peptides) |
| sets the PeptideIdentification vector More...
|
|
void | sortPeptideIdentifications () |
| sorts PeptideIdentifications, assuming they have the same scoreType. More...
|
|
|
has a primary ID (peptide, RNA, compound) been assigned?
|
bool | hasPrimaryID () const |
|
const IdentificationData::IdentifiedMolecule & | getPrimaryID () const |
| Return the primary ID (peptide, RNA, compound) assigned to this feature. More...
|
|
void | clearPrimaryID () |
| clear any primary ID that was assigned More...
|
|
void | setPrimaryID (const IdentificationData::IdentifiedMolecule &id) |
| set the primary ID (peptide, RNA, compound) for this feature More...
|
|
const std::set< IdentificationData::ObservationMatchRef > & | getIDMatches () const |
| immutable access to the set of matches (e.g. PSMs) with IDs for this feature More...
|
|
std::set< IdentificationData::ObservationMatchRef > & | getIDMatches () |
| mutable access to the set of matches (e.g. PSMs) with IDs for this feature More...
|
|
void | addIDMatch (IdentificationData::ObservationMatchRef ref) |
| add an ID match (e.g. PSM) for this feature More...
|
|
void | updateIDReferences (const IdentificationData::RefTranslator &trans) |
| Update ID references (primary ID, matches) for this feature. More...
|
|
| RichPeak2D () |
| Default constructor. More...
|
|
| RichPeak2D (const RichPeak2D &p)=default |
| Copy constructor. More...
|
|
| RichPeak2D (const Peak2D &p) |
| Constructor from Peak2D. More...
|
|
| RichPeak2D (const PositionType &pos, const IntensityType in) |
| Member constructor. More...
|
|
| RichPeak2D (RichPeak2D &&p)=default |
| Move constructor. More...
|
|
| ~RichPeak2D () override |
| Destructor. More...
|
|
RichPeak2D & | operator= (const RichPeak2D &rhs)=default |
| Assignment operator. More...
|
|
RichPeak2D & | operator= (RichPeak2D &&rhs) &=default |
| Move Assignment operator. More...
|
|
RichPeak2D & | operator= (const Peak2D &rhs) |
| Assignment operator. More...
|
|
bool | operator== (const RichPeak2D &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const RichPeak2D &rhs) const |
| Equality operator. More...
|
|
bool | operator== (const Peak2D &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const Peak2D &rhs) const |
| Equality operator. More...
|
|
| Peak2D ()=default |
|
| Peak2D (const PositionType &pos, const IntensityType in) |
| Member constructor. More...
|
|
| Peak2D (const Peak2D &p)=default |
| Copy constructor. More...
|
|
| Peak2D (Peak2D &&) noexcept=default |
| Move constructor. More...
|
|
Peak2D & | operator= (const Peak2D &rhs)=default |
| Assignment operator. More...
|
|
Peak2D & | operator= (Peak2D &&) noexcept=default |
| Move assignment operator. More...
|
|
| ~Peak2D () noexcept=default |
| Destructor. More...
|
|
IntensityType | getIntensity () const |
|
void | setIntensity (IntensityType intensity) |
| Sets data point intensity (height) More...
|
|
PositionType const & | getPosition () const |
| Non-mutable access to the position. More...
|
|
PositionType & | getPosition () |
| Mutable access to the position. More...
|
|
void | setPosition (const PositionType &position) |
| Mutable access to the position. More...
|
|
CoordinateType | getMZ () const |
| Returns the m/z coordinate (index 1) More...
|
|
void | setMZ (CoordinateType coordinate) |
| Mutable access to the m/z coordinate (index 1) More...
|
|
CoordinateType | getRT () const |
| Returns the RT coordinate (index 0) More...
|
|
void | setRT (CoordinateType coordinate) |
| Mutable access to the RT coordinate (index 0) More...
|
|
| MetaInfoInterface () |
| Constructor. More...
|
|
| MetaInfoInterface (const MetaInfoInterface &rhs) |
| Copy constructor. More...
|
|
| MetaInfoInterface (MetaInfoInterface &&) noexcept |
| Move constructor. More...
|
|
| ~MetaInfoInterface () |
| Destructor. More...
|
|
MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
| Assignment operator. More...
|
|
MetaInfoInterface & | operator= (MetaInfoInterface &&) noexcept |
| Move assignment operator. More...
|
|
void | swap (MetaInfoInterface &rhs) |
| Swap contents. More...
|
|
bool | operator== (const MetaInfoInterface &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const MetaInfoInterface &rhs) const |
| Equality operator. More...
|
|
const DataValue & | getMetaValue (const String &name) const |
| Returns the value corresponding to a string, or DataValue::EMPTY if not found. More...
|
|
DataValue | getMetaValue (const String &name, const DataValue &default_value) const |
| Returns the value corresponding to a string, or a default value (e.g.: DataValue::EMPTY) if not found. More...
|
|
const DataValue & | getMetaValue (UInt index) const |
| Returns the value corresponding to the index, or DataValue::EMPTY if not found. More...
|
|
DataValue | getMetaValue (UInt index, const DataValue &default_value) const |
| Returns the value corresponding to the index, or a default value (e.g.: DataValue::EMPTY) if not found. More...
|
|
bool | metaValueExists (const String &name) const |
| Returns whether an entry with the given name exists. More...
|
|
bool | metaValueExists (UInt index) const |
| Returns whether an entry with the given index exists. More...
|
|
void | setMetaValue (const String &name, const DataValue &value) |
| Sets the DataValue corresponding to a name. More...
|
|
void | setMetaValue (UInt index, const DataValue &value) |
| Sets the DataValue corresponding to an index. More...
|
|
void | removeMetaValue (const String &name) |
| Removes the DataValue corresponding to name if it exists. More...
|
|
void | removeMetaValue (UInt index) |
| Removes the DataValue corresponding to index if it exists. More...
|
|
void | addMetaValues (const MetaInfoInterface &from) |
| function to copy all meta values from one object to this one More...
|
|
void | getKeys (std::vector< String > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. More...
|
|
void | getKeys (std::vector< UInt > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. More...
|
|
bool | isMetaEmpty () const |
| Returns if the MetaInfo is empty. More...
|
|
void | clearMetaInfo () |
| Removes all meta values. More...
|
|
| UniqueIdInterface () |
| Default constructor - the unique id will be invalid More...
|
|
| UniqueIdInterface (const UniqueIdInterface &rhs)=default |
| Copy constructor - copies the unique id. More...
|
|
| UniqueIdInterface (UniqueIdInterface &&rhs)=default |
| Move constructor. More...
|
|
UniqueIdInterface & | operator= (UniqueIdInterface const &rhs)=default |
| Assignment operator - copies the unique id. More...
|
|
UniqueIdInterface & | operator= (UniqueIdInterface &&) &=default |
| Move Assignment operator - copies the unique id. More...
|
|
virtual | ~UniqueIdInterface ()=default |
| Destructor. More...
|
|
bool | operator== (UniqueIdInterface const &rhs) const |
| Equality comparison operator - the unique ids must be equal (!) More...
|
|
UInt64 | getUniqueId () const |
| Non-mutable access to unique id - returns the unique id. More...
|
|
Size | clearUniqueId () |
| Clear the unique id. The new unique id will be invalid. Returns 1 if the unique id was changed, 0 otherwise. More...
|
|
void | swap (UniqueIdInterface &from) |
|
Size | hasValidUniqueId () const |
| Returns whether the unique id is valid. Returns 1 if the unique id is valid, 0 otherwise. More...
|
|
Size | hasInvalidUniqueId () const |
| Returns whether the unique id is invalid. Returns 1 if the unique id is invalid, 0 otherwise. More...
|
|
Size | setUniqueId () |
| Assigns a new, valid unique id. Always returns 1. More...
|
|
Size | ensureUniqueId () |
| Assigns a valid unique id, but only if the present one is invalid. Returns 1 if the unique id was changed, 0 otherwise. More...
|
|
void | setUniqueId (UInt64 rhs) |
| Assigns the given unique id. More...
|
|
void | setUniqueId (const String &rhs) |
| Mutable access to unique id. More...
|
|
A basic LC-MS feature.
This class represents a "minimal" feature, defined by a position in RT and m/z, intensity, charge, quality, and annotated peptides. Most classes dealing with features will use the subclasses Feature or ConsensusFeature directly. However, algorithms that rely on very general characteristics of features can use this class to provide a unified solution for both "normal" features and consensus features.