20 class PeptideIdentification;
36 double average_correctness = 0;
37 double variance_correctness = 0;
82 ToleranceUnit tolerance_unit = ToleranceUnit::AUTO,
double tolerance = 20);
99 std::vector<Statistics> results_ {};
A container for features.
Definition FeatureMap.h:82
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition FlagSet.h:28
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
Definition PSMExplainedIonCurrent.h:24
const String & getName() const override
returns the name of the metric
void compute(FeatureMap &fmap, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, ToleranceUnit tolerance_unit=ToleranceUnit::AUTO, double tolerance=20)
computes PSMExplainedIonCurrent (only of the first PeptideHit of each PepID)
const std::vector< Statistics > & getResults() const
returns results
static double annotatePSMExplainedIonCurrent_(PeptideIdentification &pep_id, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, WindowMower &filter, PSMExplainedIonCurrent::ToleranceUnit tolerance_unit, double tolerance)
QCBase::Status requirements() const override
Returns the input data requirements of the compute(...) function.
virtual ~PSMExplainedIonCurrent()=default
Destructor.
PSMExplainedIonCurrent()=default
Default constructor.
void compute(PeptideIdentificationList &pep_ids, const ProteinIdentification::SearchParameters &search_params, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, ToleranceUnit tolerance_unit=ToleranceUnit::AUTO, double tolerance=20)
computes PSMExplainedIonCurrent (only of the first PeptideHit of each PepID)
Structure for storing results: average and variance over all PSMs.
Definition PSMExplainedIonCurrent.h:35
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Represents the set of candidates (SpectrumMatches) identified for a single precursor spectrum.
Definition PeptideIdentification.h:64
Map to find a spectrum via its NativeID.
Definition QCBase.h:63
This class serves as an abstract base class for all QC classes.
Definition QCBase.h:29
ToleranceUnit
Definition QCBase.h:49
A more convenient string class.
Definition String.h:34
Retains the highest peaks in a sliding or jumping window.
Definition WindowMower.h:30
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Search parameters of the DB search.
Definition ProteinIdentification.h:254