80 void apply(std::vector<PeptideIdentification> & prob_ids,
81 const std::vector<PeptideIdentification> & fwd_ids,
82 const std::vector<PeptideIdentification> & rev_ids);
84 void apply(std::vector<PeptideIdentification> & ids);
104 max_intensity(rhs.max_intensity),
105 diff_score(rhs.diff_score),
106 min_score(rhs.min_score),
107 max_score(rhs.max_score),
108 max_intensity_bin(rhs.max_intensity_bin)
148 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:93
IDDecoyProbability calculates probabilities using decoy approach.
Definition: IDDecoyProbability.h:59
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:61
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
struct to represent the parameters of a gamma distribution
Definition: GammaDistributionFitter.h:66
struct of parameters of a Gaussian distribution
Definition: GaussFitter.h:66