|
OpenMS
2.6.0
|
Go to the documentation of this file.
60 virtual void group(
const std::vector<FeatureMap > & maps,
ConsensusMap & out) = 0;
65 virtual void group(
const std::vector<ConsensusMap> & maps,
ConsensusMap & out);
68 void transferSubelements(
const std::vector<ConsensusMap> & maps,
ConsensusMap & out)
const;
71 static void registerChildren();
77 template<
class MapType>
85 for (
typename std::vector<MapType>::const_iterator map_it = maps.begin();
86 map_it != maps.end(); ++map_it)
91 map_it->getProteinIdentifications().begin(),
92 map_it->getProteinIdentifications().end());
98 auto newPepID = pepID;
105 newPepID.setMetaValue(
"map_index", map_idx);
106 newIDs.push_back(newPepID);
void sortByQuality(bool reverse=false)
Sorts the peaks according to ascending quality.
Base class for all feature grouping algorithms.
Definition: FeatureGroupingAlgorithm.h:49
void sortBySize()
Sorts with respect to the size (number of elements)
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
void sortByMaps()
Sorts with respect to the sets of maps covered by the consensus features (lexicographically).
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
const std::vector< ProteinIdentification > & getProteinIdentifications() const
non-mutable access to the protein identifications
const std::vector< PeptideIdentification > & getUnassignedPeptideIdentifications() const
non-mutable access to the unassigned peptide identifications
A container for consensus elements.
Definition: ConsensusMap.h:80
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:62
void postprocess_(const std::vector< MapType > &maps, ConsensusMap &out)
Definition: FeatureGroupingAlgorithm.h:78