SpectrumIdentification
- class pyopenms.SpectrumIdentification
Bases:
objectCython implementation of _SpectrumIdentification
- Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1SpectrumIdentification.html
– Inherits from [‘MetaInfoInterface’]
- __init__()
Cython signature: void SpectrumIdentification()
Cython signature: void SpectrumIdentification(SpectrumIdentification &)
Methods
Cython signature: void SpectrumIdentification()
Cython signature: void addHit(IdentificationHit & hit) Adds a single identification hit to the hits
Cython signature: void clearMetaInfo() Removes all meta values
Cython signature: libcpp_vector[IdentificationHit] getHits() Returns the identification hits of this spectrum identification
Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set
Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or
Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty
Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry
Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists
Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists
Cython signature: void setHits(libcpp_vector[IdentificationHit] & hits) Sets the identification hits of this spectrum identification (corresponds to single peptide hit in the list)
Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name
- addHit()
Cython signature: void addHit(IdentificationHit & hit) Adds a single identification hit to the hits
- clearMetaInfo()
Cython signature: void clearMetaInfo() Removes all meta values
- getHits()
Cython signature: libcpp_vector[IdentificationHit] getHits() Returns the identification hits of this spectrum identification
- getKeys()
Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set
- getMetaValue()
Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or
- isMetaEmpty()
Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty
- metaRegistry()
Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry
- metaValueExists()
Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists
- removeMetaValue()
Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists
- setHits()
Cython signature: void setHits(libcpp_vector[IdentificationHit] & hits) Sets the identification hits of this spectrum identification (corresponds to single peptide hit in the list)
- setMetaValue()
Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name