Creates a valid expression to generate an adverse events table and ggplot2::ggplot()
plot using ADaM datasets.
template_adverse_events(
dataname = "ANL",
aeterm = "AETERM",
tox_grade = "AETOXGR",
causality = "AEREL",
outcome = "AEOUT",
action = "AEACN",
time = "ASTDY",
decod = NULL,
patient_id,
font_size = 12L,
ggplot2_args = teal.widgets::ggplot2_args()
)
a list
of expressions to generate a table or plot object.
(character
)
analysis data used in teal module.
(character
)
name of the reported term for the adverse event variable.
(character
)
name of the standard toxicity grade variable.
(character
)
name of the causality variable.
(character
)
name of outcome of adverse event variable.
(character
)
name of action taken with study treatment variable.
(character
)
name of study day of start of adverse event variable.
(character
)
name of dictionary derived term variable.
(character
)
patient ID.
(numeric
)
font size value.
optional, (ggplot2_args
)
object created by teal.widgets::ggplot2_args()
with settings
for the module plot. The argument is merged with option teal.ggplot2_args
and with default module arguments
(hard coded in the module body).
For more details, see the vignette: vignette("custom-ggplot2-arguments", package = "teal.widgets")
.
tm_g_pp_adverse_events()