QTCluster#
- class pyopenms.QTCluster#
Bases:
objectA representation of a QT cluster used for feature grouping
- __init__(arg: pyopenms.QTCluster, /) None#
Methods
__init__(arg, /)Has to be called after adding elements (after calling QTCluster::add one or multiple times)
Returns the set of peptide sequences annotated to the cluster center
Returns the m/z value of the cluster center
Returns the RT value of the cluster
Returns the cluster quality and recomputes if necessary
Returns the x coordinate in the grid
Returns the y coordinate in the grid
Has to be called before adding elements (calling QTCluster::add)
Whether current cluster is invalid
Sets current cluster as invalid (also frees some memory)
size()Returns the size of the cluster (number of elements, incl.
- finalizeCluster() None#
Has to be called after adding elements (after calling QTCluster::add one or multiple times)
- getAnnotations() set[pyopenms.AASequence]#
Returns the set of peptide sequences annotated to the cluster center
- getCenterMZ() float#
Returns the m/z value of the cluster center
- getCenterRT() float#
Returns the RT value of the cluster
- getQuality() float#
Returns the cluster quality and recomputes if necessary
- getXCoord() int#
Returns the x coordinate in the grid
- getYCoord() int#
Returns the y coordinate in the grid
- initializeCluster() None#
Has to be called before adding elements (calling QTCluster::add)
- isInvalid() bool#
Whether current cluster is invalid
- setInvalid() None#
Sets current cluster as invalid (also frees some memory)
- size() int#
Returns the size of the cluster (number of elements, incl. center)