View source: R/safetyGraphicsApp.R
safetyGraphicsApp | R Documentation |
Run the core safetyGraphics App
safetyGraphicsApp( domainData = list(labs = safetyData::adam_adlbc, aes = safetyData::adam_adae, dm = safetyData::adam_adsl), meta = NULL, charts = NULL, mapping = NULL, autoMapping = TRUE, filterDomain = "dm", chartSettingsPaths = NULL, runNow = TRUE )
domainData |
named list of data.frames to be loaded in to the app. Sample AdAM data from the safetyData package used by default |
meta |
data frame containing the metadata for use in the app. If no metadata is provided, metatdata is generated by |
charts |
list of charts in the format produced by safetyGraphics::makeChartConfig() |
mapping |
list specifying the initial mapping values for each data mapping for each domain (e.g. list(aes= list(id_col='USUBJID', seq_col='AESEQ')). |
autoMapping |
boolean indicating whether the app should attempt to automatically detect data standards and generate mappings for the data provided. Values specified in the |
filterDomain |
domain used for the data/filter tab. Demographics (" |
chartSettingsPaths |
path(s) where customization functions are saved relative to your working directory. All charts can have initialization (e.g. myChart_Init.R) and static charts can have charting functions (e.g. myGraphic_Chart.R). All R files in this folder are sourced and files with the correct naming convention are linked to the chart. See the Custom Charts vignette for more details. |
runNow |
Should the shiny app object created be run directly? Helpful when writing functions to dispatch to shinyapps, rsconnect, or shinyproxy. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.