Returns information about how similar point positions are in two maps, to get an idea of how similar antigenic positions are in for example maps made from two different datasets.
procrustesData( map, comparison_map, optimization_number = 1, comparison_optimization_number = 1, translation = TRUE, scaling = FALSE )
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
Should translation be allowed
Should scaling be allowed (generally not recommended unless comparing maps made with different assays)
Returns a list with information on antigenic distances between the aligned maps, and the rmsd of the point differences split by antigen points, serum points and total, or all points. The distances are a vector matching the number of points in the main map, with NA in the position of any points not found in the comparison map.