Function to add a new optimization to an acmap object, with specified values.
addOptimization(
map,
ag_coords = NULL,
sr_coords = NULL,
number_of_dimensions = NULL,
minimum_column_basis = "none",
fixed_column_bases = NULL,
ag_reactivity_adjustments = NULL
)
The acmap data object
Antigen coordinates for the new optimization (0 if not specified)
Sera coordinates for the new optimization (0 if not specified)
The number of dimensions of the new optimization
The minimum column basis to use for the new optimization
A vector of fixed column bases with NA for sera where the minimum column basis should be applied
A vector of antigen reactivity adjustments to apply to each antigen. Corresponding antigen titers will be adjusted by these amounts when calculating column bases and table distances.
Returns the acmap data object with new optimization added (but not selected).
Other functions for working with map data:
acmap()
,
agReactivityAdjustments()
,
as.json()
,
edit_agNames()
,
edit_srNames()
,
keepBestOptimization()
,
keepSingleOptimization()
,
layerNames()
,
orderPoints
,
read.acmap()
,
read.titerTable()
,
removePoints
,
save.acmap()
,
save.coords()
,
save.titerTable()
,
subsetCommonPoints
,
subsetMap()