|
OpenMS
2.5.0
|
Go to the documentation of this file.
78 std::vector<String> getLabels()
const;
80 double getScore()
const;
82 void setScore(
const double& score);
88 std::vector<double> getAllIntensities(
bool smoothed =
false)
const;
90 std::vector<double> getAllCentroidMZ()
const;
92 std::vector<double> getAllCentroidRT()
const;
94 std::vector<double> getIsotopeDistances()
const;
96 double getCentroidMZ()
const;
98 double getCentroidRT()
const;
100 double getFWHM()
const;
104 double getMonoisotopicFeatureIntensity(
bool)
const;
105 double getSummedFeatureIntensity(
bool)
const;
107 Size getNumFeatPoints()
const;
108 std::vector<ConvexHull2D> getConvexHulls()
const;
109 std::vector< OpenMS::MSChromatogram > getChromatograms(
UInt64 feature_id)
const;
189 void run(std::vector<MassTrace>& input_mtraces,
FeatureMap& output_featmap, std::vector<std::vector< OpenMS::MSChromatogram > >& output_chromatograms);
192 void updateMembers_()
override;
200 std::vector<const Element*> elementsFromString_(
const std::string& elements_string)
const;
208 Range getTheoreticIsotopicMassWindow_(
const std::vector<Element const *> alphabet,
int peakOffset)
const;
218 double computeCosineSim_(
const std::vector<double>&,
const std::vector<double>&)
const;
234 void loadIsotopeModel_(
const String&);
269 double scoreMZByExpectedMean_(
Size iso_pos,
Size charge,
const double diff_mz,
double mt_variances)
const;
279 double scoreMZByExpectedRange_(
Size charge,
const double diff_mz,
double mt_variances,
Range isotope_window)
const;
301 double computeAveragineSimScore_(
const std::vector<double>& intensities,
const double& molecular_weight)
const;
311 void findLocalFeatures_(
const std::vector<const MassTrace*>& candidates,
double total_intensity, std::vector<FeatureHypothesis>& output_hypotheses)
const;
void addMSLevel(int level)
adds a desired MS level for peaks to load
The Superhirn FeatureFinderAlgorithm.
Definition: FeatureFinderAlgorithmSH.h:99
bool report_convex_hulls_
Definition: FeatureFindingMetabo.h:334
Management and storage of parameters / INI files.
Definition: Param.h:73
This class provides Input/Output functionality for feature maps.
Definition: FeatureXMLFile.h:68
Size charge_lower_bound_
Definition: FeatureFindingMetabo.h:323
bool report_chromatograms_
Definition: FeatureFindingMetabo.h:335
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
bool enable_RT_filtering_
Definition: FeatureFindingMetabo.h:328
double left_boundary
Definition: FeatureFindingMetabo.h:148
bool operator()(const MassTrace &x, const MassTrace &y) const
Definition: FeatureFindingMetabo.h:125
std::vector< double > svm_feat_centers_
Definition: FeatureFindingMetabo.h:315
Size size() const
Definition: MSExperiment.h:127
void store(const String &filename, const FeatureMap &feature_map)
stores the map feature_map in file with name filename.
bool use_smoothed_intensities_
Definition: FeatureFindingMetabo.h:330
A container for features.
Definition: FeatureMap.h:95
Definition: FeatureFindingMetabo.h:132
Internal structure to store a lower and upper bound of an m/z range.
Definition: FeatureFindingMetabo.h:146
svm_model * isotope_filt_svm_
SVM parameters.
Definition: FeatureFindingMetabo.h:314
double right_boundary
Definition: FeatureFindingMetabo.h:149
Base class for TOPP applications.
Definition: TOPPBase.h:144
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
bool remove_single_traces_
Definition: FeatureFindingMetabo.h:337
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
Quantitation.
Definition: DataProcessing.h:72
Method for the assembly of mass traces belonging to the same isotope pattern, i.e....
Definition: FeatureFindingMetabo.h:177
double getCentroidMZ() const
Returns the centroid m/z.
Definition: MassTrace.h:179
Size ensureUniqueId()
Assigns a valid unique id, but only if the present one is invalid. Returns 1 if the unique id was cha...
Definition: UniqueIdInterface.h:154
void setPrimaryMSRunPath(const StringList &s)
set the file path to the primary MS run (usually the mzML file obtained after data conversion from ra...
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
Size charge_upper_bound_
Definition: FeatureFindingMetabo.h:324
bool use_mz_scoring_by_element_range_
Definition: FeatureFindingMetabo.h:333
SignedSize charge_
Definition: FeatureFindingMetabo.h:118
The main feature finder class.
Definition: FeatureFinder.h:56
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
Param copy(const String &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
bool operator()(const FeatureHypothesis &x, const FeatureHypothesis &y) const
Definition: FeatureFindingMetabo.h:136
double feat_score_
Definition: FeatureFindingMetabo.h:116
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
A container type that gathers peaks similar in m/z and moving along retention time.
Definition: MassTrace.h:61
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
double local_rt_range_
parameter stuff
Definition: FeatureFindingMetabo.h:321
std::vector< const MassTrace * > iso_pattern_
Definition: FeatureFindingMetabo.h:114
File adapter for MzML files.
Definition: MzMLFile.h:55
bool use_mz_scoring_C13_
Definition: FeatureFindingMetabo.h:332
std::vector< double > svm_feat_scales_
Definition: FeatureFindingMetabo.h:316
bool report_summed_ints_
Definition: FeatureFindingMetabo.h:327
Definition: FeatureFindingMetabo.h:121
A more convenient string class.
Definition: String.h:58
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
String isotope_filtering_model_
Definition: FeatureFindingMetabo.h:329
double local_mz_range_
Definition: FeatureFindingMetabo.h:322
std::vector< const Element * > elements_
Definition: FeatureFindingMetabo.h:338
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool empty() const
Definition: MSExperiment.h:137
#define OPENMS_LOG_WARN
Macro if a warning, a piece of information which should be read by the user, should be logged.
Definition: LogStream.h:460
static String basename(const String &file)
Returns the basename of the file (without the path).
Internal structure used in FeatureFindingMetabo that keeps track of a feature hypothesis (isotope gro...
Definition: FeatureFindingMetabo.h:58
double total_intensity_
Definition: FeatureFindingMetabo.h:318
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
double chrom_fwhm_
Definition: FeatureFindingMetabo.h:325
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
Peak picking (conversion from raw to peak data)
Definition: DataProcessing.h:67