QTCluster#
- class pyopenms.QTCluster#
Bases:
object
Cython implementation of _QTCluster
Original C++ documentation is available here
Methods
__init__
(self, in_0)finalizeCluster
(self)Has to be called after adding elements (after calling
getAnnotations
(self)Returns the set of peptide sequences annotated to the cluster center
getCenterMZ
(self)Returns the m/z value of the cluster center
getCenterRT
(self)Returns the RT value of the cluster
getQuality
(self)Returns the cluster quality and recomputes if necessary
getXCoord
(self)Returns the x coordinate in the grid
getYCoord
(self)Returns the y coordinate in the grid
initializeCluster
(self)Has to be called before adding elements (calling
isInvalid
(self)Whether current cluster is invalid
setInvalid
(self)Sets current cluster as invalid (also frees some memory)
size
(self)Returns the size of the cluster (number of elements, incl.
- finalizeCluster(self) None #
Has to be called after adding elements (after calling
- getAnnotations(self) Set[AASequence] #
Returns the set of peptide sequences annotated to the cluster center
- getCenterMZ(self) float #
Returns the m/z value of the cluster center
- getCenterRT(self) float #
Returns the RT value of the cluster
- getQuality(self) float #
Returns the cluster quality and recomputes if necessary
- getXCoord(self) int #
Returns the x coordinate in the grid
- getYCoord(self) int #
Returns the y coordinate in the grid
- initializeCluster(self) None #
Has to be called before adding elements (calling
- isInvalid(self) bool #
Whether current cluster is invalid
- setInvalid(self) None #
Sets current cluster as invalid (also frees some memory)
- size(self) int #
Returns the size of the cluster (number of elements, incl. center)