Skip to contents

The LBT04 table provides an overview of laboratory abnormalities not present at baseline.

Usage

lbt04_1_main(
  adam_db,
  arm_var = "ACTARM",
  lbl_param = "Laboratory Test",
  lbl_anrind = "Direction of Abnormality",
  deco = std_deco("LBT04"),
  ...
)

lbt04_1_lyt(arm_var, lbl_param, lbl_anrind, deco)

lbt04_1_pre(adam_db, req_tables = c("adsl", "adlb"), arm_var = "ACTARM", ...)

lbt04_1_check(adam_db, req_tables = c("adsl", "adlb"), arm_var = "ACTARM")

lbt04_1_post(tlg, ...)

lbt04_1

Format

An object of class chevron_t of length 1.

Arguments

adam_db

(dm) object containing the ADaM datasets

arm_var

(string) variable used for column splitting

lbl_param

(string) label of the PARAM variable.

lbl_anrind

(string) label of the ANRIND variable.

deco

(character) decoration with title, subtitles and main_footer content

...

not used.

req_tables

(character) names of the required tables.

tlg

(TableTree, Listing or ggplot) object typically produced by a main function.

Details

  • Only count LOW or HIGH values.

  • Lab test results with missing ANRIND values are excluded.

  • Split columns by arm, typically ACTARM.

  • Does not include a total column by default.

Functions

  • lbt04_1_main(): Main TLG function

  • lbt04_1_lyt(): Layout

  • lbt04_1_pre(): Preprocessing

  • lbt04_1_check(): Checks

  • lbt04_1_post(): Postprocessing

Note

  • adam_db object must contain an adlb table with columns "PARCAT1", "PARCAT2", "PARAM", "ANRIND", and column specified by arm_var.

Examples

run(lbt04_1, syn_data)
#>     Laboratory Test                          A: Drug X      B: Placebo     C: Combination
#>       Direction of Abnormality                (N=134)         (N=134)         (N=132)    
#>   ———————————————————————————————————————————————————————————————————————————————————————
#>   CHEMISTRY                                                                              
#>     Alanine Aminotransferase Measurement                                                 
#>       Low                                  10/70 (14.3%)   7/65 (10.8%)     6/67 (9.0%)  
#>       High                                  6/70 (8.6%)    6/59 (10.2%)     5/69 (7.2%)  
#>     C-Reactive Protein Measurement                                                       
#>       Low                                  7/70 (10.0%)     6/78 (7.7%)     9/65 (13.8%) 
#>       High                                 7/67 (10.4%)    7/69 (10.1%)     3/62 (4.8%)  
#>     Immunoglobulin A Measurement                                                         
#>       Low                                   5/52 (9.6%)    10/64 (15.6%)    8/67 (11.9%) 
#>       High                                 7/50 (14.0%)    8/63 (12.7%)     8/67 (11.9%) 
#>   COAGULATION                                                                            
#>     Alanine Aminotransferase Measurement                                                 
#>       Low                                   6/69 (8.7%)     5/67 (7.5%)     6/64 (9.4%)  
#>       High                                 12/67 (17.9%)   7/64 (10.9%)     6/62 (9.7%)  
#>     C-Reactive Protein Measurement                                                       
#>       Low                                  8/65 (12.3%)    7/68 (10.3%)     6/67 (9.0%)  
#>       High                                 8/63 (12.7%)     5/66 (7.6%)     6/61 (9.8%)  
#>     Immunoglobulin A Measurement                                                         
#>       Low                                  8/60 (13.3%)    8/69 (11.6%)     2/66 (3.0%)  
#>       High                                  6/62 (9.7%)    8/78 (10.3%)     2/64 (3.1%)  
#>   HEMATOLOGY                                                                             
#>     Alanine Aminotransferase Measurement                                                 
#>       Low                                   4/59 (6.8%)     5/63 (7.9%)    10/71 (14.1%) 
#>       High                                 6/58 (10.3%)    7/60 (11.7%)     8/68 (11.8%) 
#>     C-Reactive Protein Measurement                                                       
#>       Low                                  9/70 (12.9%)    6/57 (10.5%)    12/75 (16.0%) 
#>       High                                  4/63 (6.3%)     3/53 (5.7%)    11/67 (16.4%) 
#>     Immunoglobulin A Measurement                                                         
#>       Low                                   6/69 (8.7%)    8/67 (11.9%)     9/60 (15.0%) 
#>       High                                 9/71 (12.7%)     4/68 (5.9%)    11/63 (17.5%)