47 class PeptideIdentification;
48 class ProteinIdentification;
82 std::set<Int>& charges_set,
94 std::vector<std::vector<std::pair<Size, Size> > >& indices);
101 std::cout <<
" LPSolver set to " << solver_ << std::endl;
117 const std::vector<std::vector<std::pair<Size, Size> > >& mass_ranges,
119 const std::set<Int>& charges_set,
120 std::vector<std::vector<std::pair<Size, double> > >& xics);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
A container for features.
Definition: FeatureMap.h:105
SOLVER
Definition: LPWrapper.h:131
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
Implements different algorithms for precursor ion selection.
Definition: OfflinePrecursorIonSelection.h:63
std::map< std::pair< double, double >, int, PairComparatorSecondElement< std::pair< double, double > > > ExclusionListType_
Definition: OfflinePrecursorIonSelection.h:111
void setLPSolver(LPWrapper::SOLVER solver)
Definition: OfflinePrecursorIonSelection.h:98
void makePrecursorSelectionForKnownLCMSMap(const FeatureMap &features, const PeakMap &experiment, PeakMap &ms2, std::set< Int > &charges_set, bool feature_based)
Makes the precursor selection for a given feature map, either feature or scan based.
~OfflinePrecursorIonSelection() override
void calculateXICs_(const FeatureMap &features, const std::vector< std::vector< std::pair< Size, Size > > > &mass_ranges, const PeakMap &experiment, const std::set< Int > &charges_set, std::vector< std::vector< std::pair< Size, double > > > &xics)
Calculate the sum of intensities of relevant features for each scan separately.
OfflinePrecursorIonSelection()
void checkMassRanges_(std::vector< std::vector< std::pair< Size, Size > > > &mass_ranges, const PeakMap &experiment)
Eliminates overlapping peaks.
LPWrapper::SOLVER getLPSolver()
Definition: OfflinePrecursorIonSelection.h:104
void updateExclusionList_(ExclusionListType_ &exclusion_list) const
reduce scan count for each entry, and remove every entry which has reached 0 counts
void getMassRanges(const FeatureMap &features, const PeakMap &experiment, std::vector< std::vector< std::pair< Size, Size > > > &indices)
Calculates the mass ranges for each feature and stores them as indices of the raw data.
LPWrapper::SOLVER solver_
Definition: OfflinePrecursorIonSelection.h:131
void createProteinSequenceBasedLPInclusionList(String include, String rt_model_file, String pt_model_file, FeatureMap &precursors)
PSLPFormulation::IndexTriple IndexTriple
Definition: OfflinePrecursorIonSelection.h:65
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Class for comparison of std::pair using second ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:334