Creates a valid expression to generate a patient profile timeline ggplot2::ggplot() plot using ADaM datasets.
template_patient_timeline(
dataname = "ANL",
aeterm = "AETERM",
aetime_start = "ASTDTM",
aetime_end = "AENDTM",
dstime_start = "CMASTDTM",
dstime_end = "CMAENDTM",
cmdecod = "CMDECOD",
aerelday_start = NULL,
aerelday_end = NULL,
dsrelday_start = NULL,
dsrelday_end = NULL,
relative_day = FALSE,
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 start date/time of adverse event variable.
(character)
name of end date/time of adverse event variable.
(character)
name of date/time of first exposure to treatment variable.
(character)
name of date/time of last exposure to treatment variable.
(character)
name of standardized medication name variable.
(character)
name of adverse event study start day variable.
(character)
name of adverse event study end day variable.
(character)
name of concomitant medications study start day variable.
(character)
name of concomitant medications study day start variable.
(logical)
whether to use relative days (TRUE) or absolute dates (FALSE).
(character)
patient ID.
(numeric)
font size value.
(ggplot2_args) optional
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_patient_timeline()