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;
111 template <
typename PairType>
114 bool operator()(
const PairType & left,
const PairType & right)
const
116 return left.second < right.second;
127 const std::vector<std::vector<std::pair<Size, Size> > >& mass_ranges,
129 const std::set<Int>& charges_set,
130 std::vector<std::vector<std::pair<Size, double> > >& xics);
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
A container for features.
Definition: FeatureMap.h:106
SOLVER
Definition: LPWrapper.h:134
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:72
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:121
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:141
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:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
Definition: OfflinePrecursorIonSelection.h:113
bool operator()(const PairType &left, const PairType &right) const
Definition: OfflinePrecursorIonSelection.h:114