This function facilitates setting racviewer options by returning a list of option settings.

RacViewer.options(
  point.opacity = NA,
  viewer.controls = "hidden",
  grid.display = "static",
  grid.col = "#cfcfcf",
  background.col = "#ffffff",
  show.names = FALSE,
  show.errorlines = FALSE,
  show.connectionlines = FALSE,
  show.titers = FALSE,
  xlim = NULL,
  ylim = NULL,
  translation = c(0, 0, 0),
  rotation = c(0, 0, 0),
  zoom = NULL
)

Arguments

point.opacity

Default opacity for unselected points, or "inherit" to take opacity from the color values themselves.

viewer.controls

Should viewer controls be shown or hidden by default?

grid.display

For 3d maps, should the grid be fixed in the background or enclose and rotate along with the map

grid.col

Color to use for the grid shown behind the map

background.col

Color for the viewer background

show.names

Toggle name labels on, can be true or false or "antigens" or "sera"

show.errorlines

Toggle error lines on

show.connectionlines

Toggle connection lines on

show.titers

Toggle titer labels on

xlim

x limits to zoom the plot to

ylim

y limits to zoom the plot to

translation

Plot starting translation

rotation

Plot starting rotation as an XYZ Euler rotation

zoom

Plot starting zoom factor

Value

Returns a named list of viewer options

See also

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