46 class PeptideIdentification;
88 double cut_off = DBL_MAX;
99 double suitability = 0;
139 void compute(std::vector<PeptideIdentification> pep_ids);
183 double getDecoyCutOff_(
const std::vector<PeptideIdentification>& pep_ids,
double reranking_cutoff_percentile);
This class holds the functionality of calculating the database suitability.
Definition: DBSuitability.h:68
double getDecoyDiff_(const PeptideIdentification &pep_id)
Calculates the xcorr difference between the top two hits marked as decoy.
bool isNovoHit_(const PeptideHit &hit)
Tests if a PeptideHit is considered a deNovo hit.
double getDecoyCutOff_(const std::vector< PeptideIdentification > &pep_ids, double reranking_cutoff_percentile)
Calculates a xcorr cut-off based on decoy hits.
~DBSuitability()=default
Destructor.
const std::vector< SuitabilityData > & getResults() const
Returns results calculated by this metric.
std::vector< SuitabilityData > results_
result vector
Definition: DBSuitability.h:154
void compute(std::vector< PeptideIdentification > pep_ids)
Computes suitability of a database used to search a mzML.
bool passesFDR_(const PeptideHit &hit, double FDR)
Tests if a PeptideHit has a lower q-value than the given FDR threshold, i.e. passes FDR.
struct to store results
Definition: DBSuitability.h:72
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
Representation of a peptide hit.
Definition: PeptideHit.h:57
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47