tm_t_pp_laboratory {teal.modules.clinical} | R Documentation |
teal Module: Patient Profile Laboratory Table
Description
This module produces a patient profile laboratory table using ADaM datasets.
Usage
tm_t_pp_laboratory(
label,
dataname = "ADLB",
parentname = "ADSL",
patient_col = "USUBJID",
timepoints = NULL,
aval = lifecycle::deprecated(),
aval_var = NULL,
avalu = lifecycle::deprecated(),
avalu_var = NULL,
param = NULL,
paramcd = NULL,
anrind = NULL,
pre_output = NULL,
post_output = NULL
)
Arguments
label |
( |
dataname |
( |
parentname |
( |
patient_col |
( |
timepoints |
( |
aval |
|
aval_var |
( |
avalu |
|
avalu_var |
( |
param |
( |
paramcd |
( |
anrind |
( |
pre_output |
( |
post_output |
( |
Value
a teal_module
object.
Examples
ADSL <- tmc_ex_adsl
ADLB <- tmc_ex_adlb
app <- init(
data = cdisc_data(
ADSL = ADSL,
ADLB = ADLB,
code = "
ADSL <- tmc_ex_adsl
ADLB <- tmc_ex_adlb
"
),
modules = modules(
tm_t_pp_laboratory(
label = "Vitals",
dataname = "ADLB",
patient_col = "USUBJID",
paramcd = choices_selected(
choices = variable_choices(ADLB, "PARAMCD"),
selected = "PARAMCD"
),
param = choices_selected(
choices = variable_choices(ADLB, "PARAM"),
selected = "PARAM"
),
timepoints = choices_selected(
choices = variable_choices(ADLB, "ADY"),
selected = "ADY"
),
anrind = choices_selected(
choices = variable_choices(ADLB, "ANRIND"),
selected = "ANRIND"
),
aval_var = choices_selected(
choices = variable_choices(ADLB, "AVAL"),
selected = "AVAL"
),
avalu_var = choices_selected(
choices = variable_choices(ADLB, "AVALU"),
selected = "AVALU"
)
)
)
)
if (interactive()) {
shinyApp(app$ui, app$server)
}