Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with {safetyGraphics}. #81

Open
samussiah opened this issue Oct 27, 2023 · 1 comment
Open

Integrate with {safetyGraphics}. #81

samussiah opened this issue Oct 27, 2023 · 1 comment

Comments

@samussiah
Copy link

No description provided.

@jwildfire
Copy link
Contributor

Here's my test code

devtools::install('../volcanoPlot')
devtools::load_all("../safetyCharts")
devtools::load_all("../safetyGraphics")

library(safetyGraphics)
library(volcanoPlot)

devtools::load_all('../volcanoPlot')
charts<-c(
    makeChartConfig(),
    makeChartConfig(packages="volcanoPlot")
)

mapping <- list(dm=list('treatment_values--group1'="Placebo", 'treatment_values--group2'="Xanomeline High Dose"))
safetyGraphicsApp(charts=charts, mapping=mapping)


 settings<-list(
   stratification_col="AEBODSYS",
   group_col="ARM",
   reference_group="Placebo",
   comparison_group="Xanomeline High Dose",
   id_col="USUBJID"
 )
 stats<-getStats(dfAE=safetyData::adam_adae, dfDemog = safetyData::adam_adsl, settings)

devtools::load_all('../volcanoPlot')
volcanoPlot(stats,GroupLabels = c("test1","test2"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants