eDISH module
mod_edish.Rd
mod_edish()
displays the (modified) evaluation of Drug-Induced Serious Hepatotoxicity (eDISH/mDISH) plot
to support the assessment of drug-induced liver injury (DILI).
Usage
mod_edish(
module_id,
dataset_names,
subjectid_var = "USUBJID",
arm_var = "ACTARM",
arm_default_vals = NULL,
visit_var = "VISIT",
baseline_visit_val = "VISIT 01",
lb_test_var = "LBTEST",
lb_test_choices = c("Alkaline Phosphatase", "Alanine Aminotransferase",
"Aspartate Aminotransferase", "Bilirubin"),
lb_test_default_x_val = "Aspartate Aminotransferase",
lb_test_default_y_val = "Bilirubin",
lb_result_var = "LBSTRESN",
ref_range_upper_lim_var = "LBSTNRHI",
dataset_disp
)
Arguments
- module_id
[character(1)]
A unique module ID.
- dataset_names
[character(1+)]
Name(s) of the dataset(s) that will be displayed. Can not be used together with the parameter
dataset_disp
.- subjectid_var
[character(1)]
Name of the variable containing the unique subject IDs. Defaults to
"USUBJID"
.- arm_var
[character(1)]
Name of the variable containing the arm/treatment information. Defaults to
"ACTARM"
.- arm_default_vals
[character(1+)]
Vector specifying the default value(s) for the arm selector. Defaults to
NULL
.- visit_var
[character(1)]
Name of the variable containing the visit information. Defaults to
"VISIT"
.- baseline_visit_val
[character(1)]
Character indicating which visit should be used as baseline visit. Defaults to
"VISIT 01"
.- lb_test_var
[character(1)]
Name of the variable containing the laboratory test information. Defaults to
"LBTEST"
.- lb_test_choices
[character(1+)]
Character vector specifying the possible choices of the laboratory test. Defaults to
c("Alkaline Phosphatase", "Alanine Aminotransferase", "Aspartate Aminotransferase", "Bilirubin")
- lb_test_default_x_val
[character(1)]
Character specifying the default laboratory test choice for the plot's x-axis. Defaults to
"Aspartate Aminotransferase"
.- lb_test_default_y_val
[character(1)]
Character specifying the default laboratory test choice for the plot's y-axis. Defaults to
"Bilirubin"
.- lb_result_var
[character(1)]
Name of the variable containing results of the laboratory test. Defaults to
"LBSTRESN"
. In case of multiple values inlb_result_var
persubjectid_var
,visit_var
, andlb_test_var
, only the maximum value will be used. Note that a NA value in the considered values will cause a value of NA to be returned as maximum value.- ref_range_upper_lim_var
[character(1)]
Name of the variable containing the reference range upper limits. Defaults to
"LBSTNRHI"
.- dataset_disp
[dv.manager::mm_dispatch()]
This is only for advanced usage. An mm_dispatch object. Cannot be used together with the parameter
dataset_names
.