|
OpenMS
2.5.0
|
Go to the documentation of this file.
66 virtual void align(std::vector<PeakMap >&, std::vector<TransformationDescription>&);
104 inline bool operator()(
const std::pair<std::pair<Int, float>,
float>& c1,
const std::pair<std::pair<Int, float>,
float>& c2)
108 return c1.second > c2.second;
112 return (c1.first).first < (c2.first).first;
123 inline bool operator()(
const std::pair<float, float>& c1,
const std::pair<float, float>& c2)
127 return c1.first > c2.first;
131 return c1.first < c2.first;
152 void prepareAlign_(
const std::vector<MSSpectrum*>& pattern,
PeakMap& aligned, std::vector<TransformationDescription>& transformation);
164 void msFilter_(
PeakMap& peakmap, std::vector<MSSpectrum*>& spectrum_pointer_container);
197 Int bestk_(
const std::vector<MSSpectrum*>& pattern,
198 std::vector<MSSpectrum*>& aligned, std::map<
Size, std::map<Size, float> >& buffer,
199 bool column_row_orientation,
Size xbegin,
Size xend,
Size ybegin,
Size yend);
222 const std::vector<MSSpectrum*>& pattern, std::vector<MSSpectrum*>& aligned,
223 std::map<
Size, std::map<Size, float> >& buffer,
bool column_row_orientation);
252 const std::vector<MSSpectrum*>& pattern,
253 std::vector<MSSpectrum*>& aligned,
254 std::vector<int>& xcoordinate, std::vector<float>& ycoordinate,
255 std::vector<int>& xcoordinatepattern);
272 void bucketFilter_(
const std::vector<MSSpectrum*>& pattern,
273 std::vector<MSSpectrum*>& aligned, std::vector<Int>& xcoordinate,
274 std::vector<float>& ycoordinate, std::vector<Int>& xcoordinatepattern);
296 void debugFileCreator_(
const std::vector<MSSpectrum*>& pattern, std::vector<MSSpectrum*>& aligned);
303 void debugscoreDistributionCalculation_(
float score);
332 void updateMembers_()
override;
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.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 compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:52
Compare(bool b=false)
Default constructor with an order flag.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:90
PeakSpectrumCompareFunctor * c1_
Pointer holds the scoring function, which can be selected.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:310
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< std::vector< float > > debugscorematrix_
Container holding the only the score of Spectra.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:326
bool operator()(const std::pair< float, float > &c1, const std::pair< float, float > &c2)
overloaded operator() for comparing pairs of float, float std::pair<float,float>.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:123
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
bool flag
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:85
std::vector< std::vector< float > > debugmatrix_
Container holding the score of the matchmatrix and also the insertmatrix.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:324
float cutoffScore_
This is the minimal score to be count as a mismatch(range 0.0 - 1.0)
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:312
float e_
Extension cost after a gap is open.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:308
A map alignment algorithm based on spectrum similarity (dynamic programming).
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:54
float gap_
Represent the gap cost for opening or closing a gap in the alignment.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:306
inner class necessary for using the sort algorithm.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:82
float mismatchscore_
Represent the cost of a mismatch in the alignment.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:320
bool operator()(const std::pair< std::pair< Int, float >, float > &c1, const std::pair< std::pair< Int, float >, float > &c2)
overloaded operator() for comparing maps of maps std::pair<std::pair<Int,float>,float>.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:104
std::vector< float > scoredistribution_
Container holding the score of each cell(matchmatrix,insertmatrix, traceback)
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:330
bool debug_
Debug mode flag default: False.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:318
float threshold_
This is the minimum score for counting as a match(1-cutoffScore_)
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:322
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
std::vector< std::pair< float, float > > debugtraceback_
Container holding the path of the traceback.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:328
Size bucketsize_
Defines the size of one bucket.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:314
Size anchorPoints_
Defines the amount of anchor points which are selected within one bucket.
Definition: MapAlignmentAlgorithmSpectrumAlignment.h:316