The safetyGraphics package provides a framework for evaluation of clinical trial safety in R. The initial release focuses on Evaluation of Drug-Induced Serious Hepatotoxicity (eDISH). A prototype of the eDish interactive graphic is available here and is shown below.
Users can interactively explore their data with a shiny application or create standalone interactive charts.
The Shiny app provides a simple interface for:
devtools::install_github("ASA-DIA-InteractiveSafetyGraphics/safetyGraphics")library("safetyGraphics")chartBuilderApp() #open the shiny application
Users can also initialize customized standalone charts with a few lines of code.
devtools::install_github("ASA-DIA-InteractiveSafetyGraphics/safetyGraphics")library("safetyGraphics")eDISH(data=adlbc,id_col = "USUBJID",value_col = "AVAL",measure_col = "PARAM",visit_col = "VISIT",visitn_col = "VISITNUM",studyday_col = "ADY",normal_col_low = "A1LO",normal_col_high = "A1HI",measure_values = list(ALT = "Alanine Aminotransferase (U/L)",AST = "Aspartate Aminotransferase (U/L)",TB = "Bilirubin (umol/L)",ALP = "Alkaline Phosphatase (U/L)"))