This creates an html widget for viewing antigenic maps.

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

Arguments

map

The map data object

show_procrustes

should procrustes lines be shown

show_group_legend

Show an interactive legend detailing different groups as set by agGroups() and srGroups()

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

Value

An object of class htmlwidget that will intelligently print itself into HTML in a variety of contexts including the R console, within R Markdown documents, and within Shiny output bindings.

See also

Other functions to view maps: RacViewer.options(), export_viewer(), ggplot.acmap(), mapGadget(), plot.acmap(), setLegend(), view.acmap(), view.default(), view()