Realigns the coordinates of a map to match a target map as closely as possible, based on a procrustes analysis. Note that all optimization runs will be separately aligned to match as closely as possible the first optimization run of the target map.
realignMap(map, target_map, translation = TRUE, scaling = FALSE)
The acmap to realign.
The acmap to realign to.
Should translation be allowed
Should scaling be allowed (generally not recommended unless comparing maps made with different assays)
Returns a map object aligned to the target map
Other functions to compare maps:
matchStrains
,
procrustesData()
,
procrustesMap()
,
realignOptimizations()