![]() |
OpenMS
|
Best score of the hits of a spectrum and the best score of a different (unmodified) peptide sequence. More...
#include <OpenNuXL/include/NuXLRescoring.h>
Public Member Functions | |
| void | add (float score, std::string_view sequence) |
| float | bestOtherThan (std::string_view sequence) const |
best score of a sequence other than sequence (-inf if there is none) | |
Public Attributes | |
| float | best = -std::numeric_limits<float>::infinity() |
| float | second = -std::numeric_limits<float>::infinity() |
| best score of a sequence other than best_sequence | |
| std::string_view | best_sequence |
Best score of the hits of a spectrum and the best score of a different (unmodified) peptide sequence.
Fed every hit scored for the spectrum in the search, in any order. bestOtherThan() then gives the exact best score of a sequence other than the given one, independent of the order of the hits.
|
inline |
|
inline |
best score of a sequence other than sequence (-inf if there is none)
References NuXLRescoring::ScoreGap::best, NuXLRescoring::ScoreGap::best_sequence, and NuXLRescoring::ScoreGap::second.
| float best = -std::numeric_limits<float>::infinity() |
Referenced by NuXLRescoring::ScoreGap::add(), and NuXLRescoring::ScoreGap::bestOtherThan().
| std::string_view best_sequence |
Referenced by NuXLRescoring::ScoreGap::add(), and NuXLRescoring::ScoreGap::bestOtherThan().
| float second = -std::numeric_limits<float>::infinity() |
best score of a sequence other than best_sequence
Referenced by NuXLRescoring::ScoreGap::add(), and NuXLRescoring::ScoreGap::bestOtherThan().