54 void apply(std::vector<PeptideIdentification> & prob_ids,
55 const std::vector<PeptideIdentification> & fwd_ids,
56 const std::vector<PeptideIdentification> & rev_ids);
58 void apply(std::vector<PeptideIdentification> & ids);
78 max_intensity(rhs.max_intensity),
79 diff_score(rhs.diff_score),
80 min_score(rhs.min_score),
81 max_score(rhs.max_score),
82 max_intensity_bin(rhs.max_intensity_bin)
122 void apply_(std::vector<PeptideIdentification> & ids,
const std::vector<double> & rev_scores,
const std::vector<double> & fwd_scores,
const std::vector<double> & all_scores);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
IDDecoyProbability calculates probabilities using decoy approach.
Definition: IDDecoyProbability.h:33
IDDecoyProbability()
Default constructor.
void generateDistributionImage_(const std::vector< double > &all_ids, const Transformation_ &all_trans, const String &fwd_formula, const String &rev_formula, const String &filename)
IDDecoyProbability(const IDDecoyProbability &rhs)
Copy constructor.
void apply(std::vector< PeptideIdentification > &ids)
void apply_(std::vector< PeptideIdentification > &ids, const std::vector< double > &rev_scores, const std::vector< double > &fwd_scores, const std::vector< double > &all_scores)
void normalizeBins_(const std::vector< double > &scores, std::vector< double > &binned, Transformation_ &trafo)
~IDDecoyProbability() override
Destructor.
void apply(std::vector< PeptideIdentification > &prob_ids, const std::vector< PeptideIdentification > &fwd_ids, const std::vector< PeptideIdentification > &rev_ids)
Converts the forward and reverse identification into probabilities.
void generateDistributionImage_(const std::vector< double > &ids, const String &formula, const String &filename)
double getProbability_(const Math::GammaDistributionFitter::GammaDistributionFitResult &result_gamma, const Transformation_ &gamma_trafo, const Math::GaussFitter::GaussFitResult &result_gauss, const Transformation_ &gauss_trafo, double score)
IDDecoyProbability & operator=(const IDDecoyProbability &rhs)
assignment operator
A more convenient string class.
Definition: String.h:34
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
struct to represent the parameters of a gamma distribution
Definition: GammaDistributionFitter.h:40
struct of parameters of a Gaussian distribution
Definition: GaussFitter.h:40