49 template<
class MapType>
57 for (
typename std::vector<MapType>::const_iterator map_it = maps.begin();
58 map_it != maps.end(); ++map_it)
63 map_it->getProteinIdentifications().begin(),
64 map_it->getProteinIdentifications().end());
70 auto newPepID = pepID;
77 newPepID.setMetaValue(
"map_index", map_idx);
78 newIDs.push_back(newPepID);
A container for consensus elements.
Definition ConsensusMap.h:68
const PeptideIdentificationList & getUnassignedPeptideIdentifications() const
non-mutable access to the unassigned peptide identifications
void sortByMaps()
Sorts with respect to the sets of maps covered by the consensus features (lexicographically).
void sortBySize()
Sorts with respect to the size (number of elements)
void sortByQuality(bool reverse=false)
Sorts the peaks according to ascending quality.
const std::vector< ProteinIdentification > & getProteinIdentifications() const
non-mutable access to the protein identifications
A base class for all classes handling default parameters.
Definition DefaultParamHandler.h:66
Base class for all feature grouping algorithms.
Definition FeatureGroupingAlgorithm.h:25
void transferSubelements(const std::vector< ConsensusMap > &maps, ConsensusMap &out) const
Transfers subelements (grouped features) from input consensus maps to the result consensus map.
FeatureGroupingAlgorithm & operator=(const FeatureGroupingAlgorithm &)
Assignment operator is not implemented -> private.
FeatureGroupingAlgorithm()
Default constructor.
virtual void group(const std::vector< ConsensusMap > &maps, ConsensusMap &out)
~FeatureGroupingAlgorithm() override
Destructor.
void postprocess_(const std::vector< MapType > &maps, ConsensusMap &out)
Definition FeatureGroupingAlgorithm.h:50
virtual void group(const std::vector< FeatureMap > &maps, ConsensusMap &out)=0
Applies the algorithm. The features in the input maps are grouped and the output is written to the co...
FeatureGroupingAlgorithm(const FeatureGroupingAlgorithm &)
Copy constructor is not implemented -> private.
Represents the set of candidates (SpectrumMatches) identified for a single precursor spectrum.
Definition PeptideIdentification.h:64
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