Apply a rotation to an antigenic map

rotateMap(map, degrees, axis = NULL, optimization_number = NULL)

Arguments

map

The acmap object

degrees

Degrees of rotation

axis

Axis of rotation (if 3D), specified as "x", "y", or "z"

optimization_number

The optimization number (or NULL to apply to all optimizations)

Value

An acmap object with rotation applied

See also

Other functions relating to map transformation: applyMapTransform(), reflectMap(), translateMap()