Displays the top adverse events ranked by log-likelihood ratio (logLR) with a dashed reference line at the critical value threshold.
Arguments
- df
A tibble returned by
adverseEventsQuery.- top_n
Integer: number of top events to display (default: 20).
Examples
if (FALSE) { # \dontrun{
ae <- adverseEventsQuery(chemblId = "CHEMBL941")
plot_adverse_events(ae)
} # }
