Skip to contents

Each subject's peak transaminase versus peak total bilirubin, as multiples of the upper limit of normal (AVAL / ANRHI), on log scales, with reference lines at 3x and 2x ULN.

Usage

fig_edish(
  df,
  ctx = fig_ctx(),
  enzyme = c("ALT", "AST"),
  bili_codes = c("BILI", "TBILI", "BILTOT"),
  base_size = NULL,
  config = NULL
)

Arguments

df

Analysis data (BDS).

ctx

A fig_ctx() list.

enzyme

"ALT" or "AST".

bili_codes

PARAMCD values accepted for total bilirubin.

base_size

Font size; NULL uses the configuration.

config

A tlf_config(); NULL resolves through tlf_get_config().

Value

A ggplot.

Examples

p <- fig_edish(ex_adlb)
class(p)
#> [1] "ggplot2::ggplot" "ggplot"          "ggplot2::gg"     "S7_object"      
#> [5] "gg"