Returns information from one map procrusted to another.

procrustesMap(
map,
comparison_map,
optimization_number = 1,
comparison_optimization_number = 1,
antigens = TRUE,
sera = TRUE,
translation = TRUE,
scaling = FALSE
)

## Arguments

map The acmap data object The acmap data object to procrustes against The map optimization to use in the procrustes calculation (other optimization runs are discarded) The optimization run int the comparison map to compare against Antigens to include (specified by name or index or TRUE/FALSE for all/none) Sera to include (specified by name or index or TRUE/FALSE for all/none) Should translation be allowed Should scaling be allowed (generally not recommended unless comparing maps made with different assays)

## Value

Returns an acmap object with procrustes information added, which will be shown when the map is plotted. To avoid ambiguity about which optimization run the procrustes was applied to, only the optimization run specified by optimization_number is kept in the map returned.

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