85 std::vector<double>& detectabilities);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Simulates peptide detectability.
Definition: DetectabilitySimulation.h:54
void filterDetectability(SimTypes::FeatureMapSim &features)
Filters the given peptide features for detectability.
DetectabilitySimulation(const DetectabilitySimulation &source)
Copy constructor.
void setDefaultParams_()
Set default parameters.
void noFilter_(SimTypes::FeatureMapSim &)
Do not filter the feature map, just set the detectability to a default value.
void svmFilter_(SimTypes::FeatureMapSim &)
Filter the feature map using a svm model.
double min_detect_
Minimum allowed detectability likelihood of a peptide.
Definition: DetectabilitySimulation.h:94
void predictDetectabilities(std::vector< String > &peptides_vector, std::vector< double > &labels, std::vector< double > &detectabilities)
DetectabilitySimulation()
Constructor taking a random generator.
DetectabilitySimulation & operator=(const DetectabilitySimulation &source)
Assignment operator.
~DetectabilitySimulation() override
Destructor.
void updateMembers_() override
Synchronize members with param class.
OpenMS::String dt_model_file_
Name of the svm model file.
Definition: DetectabilitySimulation.h:97
A container for features.
Definition: FeatureMap.h:106
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48