Learn R Programming

Racmacs (version 1.2.9)

realignMap: Realign map to match another

Description

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.

Usage

realignMap(map, target_map, translation = TRUE, scaling = FALSE)

Value

Returns a map object aligned to the target map

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)

See Also

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