This function returns a server function suitable for use in shiny::runApp()

safetyGraphicsServer(
  input,
  output,
  session,
  meta,
  mapping,
  domainData,
  charts,
  filterDomain
)

Arguments

input

Shiny input object

output

Shiny output object

session

Shiny session object

meta

data frame containing the metadata for use in the app.

mapping

current mapping

domainData

named list of data.frames to be loaded in to the app.

charts

list of charts to include in the app

filterDomain

domain used for the data/filter tab. Demographics ("dm") is used by default. Using a domain that is not one record per participant is not recommended.