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)

Arguments

map

The acmap to realign.

target_map

The acmap to realign to.

translation

Should translation be allowed

scaling

Should scaling be allowed (generally not recommended unless comparing maps made with different assays)

Value

Returns a map object aligned to the target map

See also

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