This function generates a new acmap object, the base object for storing map data in the Racmacs package.
acmap(
ag_names = NULL,
sr_names = NULL,
titer_table = NULL,
ag_coords = NULL,
sr_coords = NULL,
check_duplicates = TRUE,
...
)
Antigen names
Sera names
Table of titer data
Antigenic coordinates for an optimization run record (optional)
Sera coordinates for an optimization run record (optional)
Issue a warning if duplicate antigen or sera names are found
Further arguments passed to addOptimization()
Returns the new acmap object
The fundamental unit of the Racmacs package is the acmap
object,
short for Antigenic Cartography MAP. This object contains all the
information about an antigenic map. You can read in a new acmap object from
a file with the function read.acmap()
and create a new acmap object
within an R session using the acmap()
function.
See optimizeMap()
for generating new optimizations estimating
antigen similarity from the acmap titer data.
Other functions for working with map data:
addOptimization()
,
agReactivityAdjustments()
,
as.json()
,
edit_agNames()
,
edit_srNames()
,
keepBestOptimization()
,
keepSingleOptimization()
,
layerNames()
,
orderPoints
,
read.acmap()
,
read.titerTable()
,
removePoints
,
save.acmap()
,
save.coords()
,
save.titerTable()
,
subsetCommonPoints
,
subsetMap()