This creates an html widget for viewing antigenic maps.

RacViewer(
  map,
  plotdata = NULL,
  show_procrustes = FALSE,
  options = list(),
  width = NULL,
  height = NULL,
  elementId = NULL
)

Arguments

map

The map data object

plotdata

r3js plot data

show_procrustes

should procrustes lines be shown

options

A named list of viewer options supplied to racviewer.options()

width

Width of the widget

height

Height of the widget

elementId

DOM element ID

See also