54 class PeptideIdentification;
55 class ProteinIdentification;
90 class GraphInferenceFunctor;
95 class ExtendedGraphInferenceFunctor;
98 struct GridSearchEvaluator;
117 std::vector<ProteinIdentification>& proteinIDs,
118 std::vector<PeptideIdentification>& peptideIDs,
119 bool greedy_group_resolution,
120 std::optional<const ExperimentalDesign> exp_des = std::optional<const ExperimentalDesign>());
135 bool greedy_group_resolution,
136 std::optional<const ExperimentalDesign> exp_des = std::optional<const ExperimentalDesign>());
146 std::vector<double>& alpha_search,
147 std::vector<double>& beta_search,
148 std::vector<double>& gamma_search
167 #ifdef INFERENCE_BENCH
168 std::vector<std::pair<double,Size>> debug_times_;
Performs a Bayesian protein inference on Protein/Peptide identifications or ConsensusMap (experimenta...
Definition: BayesianProteinInferenceAlgorithm.h:78
void setScoreTypeAndSettings_(ProteinIdentification &proteinIDs)
set score type and settings for every ProteinID run processed
std::function< void(PeptideIdentification &)> checkConvertAndFilterPepHits_
Definition: BayesianProteinInferenceAlgorithm.h:163
void resetProteinScores_(ProteinIdentification &protein_id, bool keep_old_as_prior)
reset all protein scores to 0.0, save old ones as Prior MetaValue if requested
~BayesianProteinInferenceAlgorithm() override=default
Destructor.
GridSearch< double, double, double > initGridSearchFromParams_(std::vector< double > &alpha_search, std::vector< double > &beta_search, std::vector< double > &gamma_search)
read Param object and set the grid
void inferPosteriorProbabilities_(Internal::IDBoostGraph &ibg)
void inferPosteriorProbabilities(std::vector< ProteinIdentification > &proteinIDs, std::vector< PeptideIdentification > &peptideIDs, bool greedy_group_resolution, std::optional< const ExperimentalDesign > exp_des=std::optional< const ExperimentalDesign >())
Perform inference. Filter, build graph, run the private inferPosteriorProbabilities_ function....
BayesianProteinInferenceAlgorithm(unsigned int debug_lvl=0)
Constructor.
void inferPosteriorProbabilities(ConsensusMap &cmap, bool greedy_group_resolution, std::optional< const ExperimentalDesign > exp_des=std::optional< const ExperimentalDesign >())
Perform inference. Filter, build graph, run the private inferPosteriorProbabilities_ function....
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
unsigned int debug_lvl_
Definition: BayesianProteinInferenceAlgorithm.h:165
A container for consensus elements.
Definition: ConsensusMap.h:92
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Definition: GridSearch.h:99
Creates and maintains a boost graph based on the OpenMS ID datastructures.
Definition: IDBoostGraph.h:83
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:53
Representation of a protein identification run.
Definition: ProteinIdentification.h:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48