23 class MultiplexDeltaMassesGenerator;
129 static double matchLabelSet_(
const std::vector<MultiplexDeltaMasses::DeltaMass>& pattern,
143 const std::vector<MultiplexDeltaMasses::DeltaMass>& pattern,
144 double theoretical_delta_mass_at_label_set, std::vector<bool>& delta_mass_matched)
const;
160 const std::vector<MultiplexDeltaMasses>& theoretical_patterns,
161 std::vector<bool>& delta_mass_matched,
int& index_label_set)
const;
176 static double findNewMZ_(
double mz,
int charge,
const std::vector<MultiplexDeltaMasses::DeltaMass>& pattern,
177 const std::vector<bool>& delta_mass_matched);
193 const std::vector<bool>& delta_mass_matched,
int index_label_set,
197 double mass_tolerance_ = 0.1;
199 double mz_tolerance_ = 10.0;
201 double rt_tolerance_ = 5.0;
Definition AASequence.h:96
A consensus feature spanning multiple LC-MS/MS experiments.
Definition ConsensusFeature.h:45
std::set< FeatureHandle, FeatureHandle::IndexLess > HandleSetType
Type definitions.
Definition ConsensusFeature.h:49
A container for consensus elements.
Definition ConsensusMap.h:67
A base class for all classes handling default parameters.
Definition DefaultParamHandler.h:66
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
generates complete list of all possible mass shifts due to isotopic labelling
Definition MultiplexDeltaMassesGenerator.h:36
std::multiset< std::string > LabelSet
set of labels associated with a mass shift
Definition MultiplexDeltaMasses.h:46
Completes peptide multiplets and resolves quant/ID conflicts within them.
Definition MultiplexResolverAlgorithm.h:59
void resolve(const ConsensusMap &map_in, ConsensusMap &map_out, ConsensusMap &map_conflicts, const MSExperiment &blacklist=MSExperiment()) const
Split the annotated multiplets of map_in into resolved and conflicting ones.
std::vector< double > expectedChannelMZs(const AASequence &sequence, int charge, Size &position) const
Where the peptide of sequence appears in every channel.
std::vector< bool > checkIdentifications(const ConsensusFeature &consensus) const
Which peptide identifications of consensus agree with its detected mass shifts?
bool isBlacklisted_(const MSExperiment &blacklist, double rt, double mz, size_t charge, const ConsensusFeature &consensus) const
Is one of the first three isotopes of a (dummy) feature at this position blacklisted?
static double matchLabelSet_(const std::vector< MultiplexDeltaMasses::DeltaMass > &pattern, const MultiplexDeltaMasses::LabelSet &label_set, int &index_label_set)
Mass shift of the theoretical pattern whose label set equals label_set.
int findMatchingPattern_(const ConsensusFeature &consensus, double detected_delta_mass_at_label_set, const AASequence &sequence, const MultiplexDeltaMasses::LabelSet &label_set, const std::vector< MultiplexDeltaMasses > &theoretical_patterns, std::vector< bool > &delta_mass_matched, int &index_label_set) const
Find the theoretical delta mass pattern matching the detected one.
ConsensusFeature completeConsensus_(const ConsensusFeature &consensus, const std::vector< MultiplexDeltaMasses::DeltaMass > &pattern, const std::vector< bool > &delta_mass_matched, int index_label_set, const MSExperiment &blacklist) const
Complete an incomplete multiplet with dummy features.
MultiplexDeltaMassesGenerator createGenerator_() const
The generator of the theoretical mass-shift patterns, as configured in the sections algorithm and lab...
static double findNewMZ_(double mz, int charge, const std::vector< MultiplexDeltaMasses::DeltaMass > &pattern, const std::vector< bool > &delta_mass_matched)
m/z of the lightest peptide of the complete multiplet, given the incomplete one at mz
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
static bool matchesResidues_(const std::vector< MultiplexDeltaMasses::DeltaMass > &pattern, const AASequence &sequence)
Does every channel of pattern label as many residues as sequence has?
static double deltaMassFromMapIndex_(const ConsensusFeature::HandleSetType &feature_handles, unsigned idx)
Relative delta mass between the first feature handle and the handle with map index idx (NaN if absent...
MultiplexResolverAlgorithm()
Constructor; registers the algorithm and labels parameter sections.
bool matchDeltaMasses_(const ConsensusFeature &consensus, double detected_delta_mass_at_label_set, const std::vector< MultiplexDeltaMasses::DeltaMass > &pattern, double theoretical_delta_mass_at_label_set, std::vector< bool > &delta_mass_matched) const
Check whether all delta masses of the detected pattern match one of the theoretical pattern.
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19