Realigns all map optimizations through rotatation and translation to match point positions as closely as possible to the first optimization run. This is done by default when optimizing a map and makes comparing point positions in each optimization run much easier to do by eye.

realignOptimizations(map)

## Arguments

map The acmap data object

## Value

Returns the map with realigned optimizations

## See also

Other functions to compare maps: matchStrains, procrustesData(), procrustesMap(), realignMap()