Optimize antigen and serum positions starting from their current coordinates in the selected or specified optimization.

relaxMap(
  map,
  optimization_number = 1,
  fixed_antigens = FALSE,
  fixed_sera = FALSE,
  titer_weights = NULL,
  options = list()
)

Arguments

map

The acmap object

optimization_number

The optimization number to relax

fixed_antigens

Antigens to set fixed positions for when relaxing

fixed_sera

Sera to set fixed positions for when relaxing

titer_weights

An optional matrix of weights to assign each titer when optimizing

options

List of named optimizer options, see RacOptimizer.options()

Value

Returns an acmap object with the optimization relaxed.

See also

See optimizeMap() for performing new optimization runs from random starting coordinates.

Other map optimization functions: RacOptimizer.options(), make.acmap(), moveTrappedPoints(), optimizeMap(), randomizeCoords(), relaxMapOneStep()