OpenMS offers a number of map alignment algorithms. The take several peak or feature maps and transform the retention time axis so that peak/feature positions become comparable.
The classes described in this section can be found in the ANALYSIS/MAPMATCHING folder.
All map alignment algorithms are derived from the common base class MapAlignmentAlgorithm and, thus, share a common interface. That is why only one example (Tutorial_MapAlignment.cpp) is shown here. Other algorithms can be work accordingly.
First, we load two feature maps:
Then, we instantiate the algorithm and align the feature maps:
Finally, the aligned maps are written to files:
As an additional output the algorithms return one TransformationDescription per input file. This TransformationDescription describes the transformation that was applied to the retention times.OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:05 using doxygen 1.8.13 |