1
#include <OpenMS/CONCEPT/Types.h>
3
#include <OpenMS/ANALYSIS/MAPMATCHING/MapAlignmentAlgorithmPoseClustering.h>
4
#include <OpenMS/FORMAT/FeatureXMLFile.h>
6
using namespace OpenMS;
11
vector<FeatureMap<> > maps;
14
FeatureXMLFile xml_file;
15
xml_file.load("data/Tutorial_MapAlignment_1.featureXML",maps[0]);
16
xml_file.load("data/Tutorial_MapAlignment_2.featureXML",maps[1]);
17
MapAlignmentAlgorithmPoseClustering algorithm;
19
vector<TransformationDescription> transformations;
20
algorithm.alignFeatureMaps(maps,transformations);
21
xml_file.store("output/Tutorial_MapAlignment_1.featureXML",maps[0]);
22
xml_file.store("output/Tutorial_MapAlignment_2.featureXML",maps[1]);