MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / group

Method group

src/openms/source/ANALYSIS/MAPMATCHING/FeatureGroupingAlgorithm.cpp:39–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 void FeatureGroupingAlgorithm::group(const vector<ConsensusMap>& maps, ConsensusMap& out)
40 {
41 OPENMS_LOG_WARN << "FeatureGroupingAlgorithm::group() does not support ConsensusMaps directly. Converting to FeatureMaps." << endl;
42
43 vector<FeatureMap> maps_f;
44 for (Size i = 0; i < maps.size(); ++i)
45 {
46 FeatureMap fm;
47 MapConversion::convert(maps[i], true, fm);
48 maps_f.push_back(fm);
49 }
50 // call FeatureMap version of group()
51 group(maps_f, out);
52 }
53
54 void FeatureGroupingAlgorithm::transferSubelements(const vector<ConsensusMap>& maps, ConsensusMap& out) const
55 {

Callers 6

_getMaintainerMethod · 0.45
create_pxd_file_mapFunction · 0.45
buildAmbiguityGroupMethod · 0.45
setup.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 3

convertFunction · 0.50
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected