IdentificationHit
- class pyopenms.IdentificationHit
Bases:
objectCython implementation of _IdentificationHit
- Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1IdentificationHit.html
– Inherits from [‘MetaInfoInterface’]
- __init__()
Cython signature: void IdentificationHit() Represents a object which can store the information of an analysisXML instance
Cython signature: void IdentificationHit(IdentificationHit &)
Methods
Cython signature: void IdentificationHit()
Cython signature: void clearMetaInfo() Removes all meta values
Cython signature: double getCalculatedMassToCharge() Returns the calculated mass to charge ratio
Cython signature: int getCharge() Returns the charge state
Cython signature: double getExperimentalMassToCharge() Returns the experimental mass to charge
Cython signature: String getId() Returns the id
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: String getName() Returns the name
Cython signature: bool getPassThreshold() Returns whether the peptide passed the threshold
Cython signature: int getRank() Returns the rank of the peptide
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 setCalculatedMassToCharge(double mz) Sets the calculated mass to charge ratio
Cython signature: void setCharge(int charge) Sets the charge state of the peptide
Cython signature: void setExperimentalMassToCharge(double mz) Sets the experimental mass to charge ratio
Cython signature: void setId(String id) Sets the identifier
Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name
Cython signature: void setName(String name) Sets the name
Cython signature: void setPassThreshold(bool) Sets whether the peptide passed the threshold
Cython signature: void setRank(int rank) Sets the rank of the peptide
- clearMetaInfo()
Cython signature: void clearMetaInfo() Removes all meta values
- getCalculatedMassToCharge()
Cython signature: double getCalculatedMassToCharge() Returns the calculated mass to charge ratio
- getCharge()
Cython signature: int getCharge() Returns the charge state
- getExperimentalMassToCharge()
Cython signature: double getExperimentalMassToCharge() Returns the experimental mass to charge
- getId()
Cython signature: String getId() Returns the id
- 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
- getName()
Cython signature: String getName() Returns the name
- getPassThreshold()
Cython signature: bool getPassThreshold() Returns whether the peptide passed the threshold
- getRank()
Cython signature: int getRank() Returns the rank of the peptide
- 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
- setCalculatedMassToCharge()
Cython signature: void setCalculatedMassToCharge(double mz) Sets the calculated mass to charge ratio
- setCharge()
Cython signature: void setCharge(int charge) Sets the charge state of the peptide
- setExperimentalMassToCharge()
Cython signature: void setExperimentalMassToCharge(double mz) Sets the experimental mass to charge ratio
- setId()
Cython signature: void setId(String id) Sets the identifier
- setMetaValue()
Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name
- setName()
Cython signature: void setName(String name) Sets the name
- setPassThreshold()
Cython signature: void setPassThreshold(bool) Sets whether the peptide passed the threshold
- setRank()
Cython signature: void setRank(int rank) Sets the rank of the peptide