SpectrumIdentification

class pyopenms.SpectrumIdentification

Bases: object

Cython 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

__init__

  • Cython signature: void SpectrumIdentification()

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

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