79 std::vector<String> getLabels()
const;
81 double getScore()
const;
83 void setScore(
const double& score);
89 std::vector<double> getAllIntensities(
bool smoothed =
false)
const;
91 std::vector<double> getAllCentroidMZ()
const;
93 std::vector<double> getAllCentroidRT()
const;
95 std::vector<double> getIsotopeDistances()
const;
97 double getCentroidMZ()
const;
99 double getCentroidRT()
const;
101 double getFWHM()
const;
105 double getMonoisotopicFeatureIntensity(
bool)
const;
106 double getSummedFeatureIntensity(
bool)
const;
109 double getMaxIntensity(
bool smoothed =
false)
const;
111 Size getNumFeatPoints()
const;
112 std::vector<ConvexHull2D> getConvexHulls()
const;
113 std::vector< OpenMS::MSChromatogram > getChromatograms(
UInt64 feature_id)
const;
120 double feat_score_{};
193 void run(std::vector<MassTrace>& input_mtraces,
FeatureMap& output_featmap, std::vector<std::vector< OpenMS::MSChromatogram > >& output_chromatograms);
196 void updateMembers_()
override;
204 std::vector<const Element*> elementsFromString_(
const std::string& elements_string)
const;
212 Range getTheoreticIsotopicMassWindow_(
const std::vector<Element const *>& alphabet,
int peakOffset)
const;
222 double computeCosineSim_(
const std::vector<double>&,
const std::vector<double>&)
const;
238 void loadIsotopeModel_(
const String&);
273 double scoreMZByExpectedMean_(
Size iso_pos,
Size charge,
const double diff_mz,
double mt_variances)
const;
283 double scoreMZByExpectedRange_(
Size charge,
const double diff_mz,
double mt_variances,
Range isotope_window)
const;
304 double computeAveragineSimScore_(
const std::vector<double>& intensities,
const double& molecular_weight)
const;
314 void findLocalFeatures_(
const std::vector<const MassTrace*>& candidates,
double total_intensity, std::vector<FeatureHypothesis>& output_hypotheses)
const;
317 svm_model* isotope_filt_svm_ =
nullptr;
double left_boundary
Definition: FeatureFindingMetabo.h:152
A more convenient string class.
Definition: String.h:58
Definition: FeatureFindingMetabo.h:136
A container for features.
Definition: FeatureMap.h:98
bool operator()(const MassTrace &x, const MassTrace &y) const
Definition: FeatureFindingMetabo.h:129
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
std::vector< const MassTrace * > iso_pattern_
Definition: FeatureFindingMetabo.h:118
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Internal structure used in FeatureFindingMetabo that keeps track of a feature hypothesis (isotope gro...
Definition: FeatureFindingMetabo.h:59
double getCentroidMZ() const
Returns the centroid m/z.
Definition: MassTrace.h:179
Definition: FeatureFindingMetabo.h:125
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:52
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
bool operator()(const FeatureHypothesis &x, const FeatureHypothesis &y) const
Definition: FeatureFindingMetabo.h:140
double right_boundary
Definition: FeatureFindingMetabo.h:153
Internal structure to store a lower and upper bound of an m/z range.
Definition: FeatureFindingMetabo.h:150
A container type that gathers peaks similar in m/z and moving along retention time.
Definition: MassTrace.h:61