RescoreOutput#

class pyopenms.RescoreOutput#

Bases: object

Output from Percolator.rescore(). Aligned 1:1 with the rows of the RescoreInput (features or feature_matrix).

__init__() → None#
__init__(arg: pyopenms.RescoreOutput, /) → None

Methods

__init__()

peps_np()

Numpy array view over the internal peps vector (zero copy).

q_values_np()

Numpy array view over the internal q_values vector (zero copy).

scores_np()

Numpy array view over the internal scores vector (zero copy).

Attributes

peps

posterior error probability per row

peptide_peps

With 'peptide_level' and RescoreInput.peptide_keys: the peptide-level PEP per row (empty otherwise)

peptide_q_values

With 'peptide_level' and RescoreInput.peptide_keys: the peptide-level q-value per row (empty otherwise)

q_values

q-value per row

scores

SVM discriminant score per row

property peps: list[float]#

posterior error probability per row

peps_np() → object#

Numpy array view over the internal peps vector (zero copy).

property peptide_peps: list[float]#

With ‘peptide_level’ and RescoreInput.peptide_keys: the peptide-level PEP per row (empty otherwise)

property peptide_q_values: list[float]#

With ‘peptide_level’ and RescoreInput.peptide_keys: the peptide-level q-value per row (empty otherwise)

property q_values: list[float]#

q-value per row

q_values_np() → object#

Numpy array view over the internal q_values vector (zero copy).

property scores: list[float]#

SVM discriminant score per row

scores_np() → object#

Numpy array view over the internal scores vector (zero copy). Invalidated if the RescoreOutput is destroyed or its scores are reassigned.