Skip to contents

Displays the top adverse events ranked by log-likelihood ratio (logLR) with a dashed reference line at the critical value threshold.

Usage

plot_adverse_events(df, top_n = 20)

Arguments

df

A tibble returned by adverseEventsQuery.

top_n

Integer: number of top events to display (default: 20).

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
ae <- adverseEventsQuery(chemblId = "CHEMBL941")
plot_adverse_events(ae)
} # }