A widget that renders the safety.viz QT/QTc safety explorer across three linked views: central tendency (mean change from baseline and placebo-corrected change with confidence intervals, against the ICH E14 10 ms threshold of regulatory concern), an outlier scatter of absolute values and changes against the 450/480/500 ms and 30/60 ms category boundaries, and a categorical summary of participants crossing them.
Usage
Widget_QtExplorer(
dfResults,
lSettings = list(),
width = NULL,
height = NULL,
elementId = NULL,
bDebug = FALSE
)Arguments
- dfResults
data.frameLong-format ECG results, one record per measurement. Column names are supplied bylSettings; the defaults expect the ADaM ADEG standard (TEST/STRESN/BASE/ARM, plusVISIT/VISITNUM/ABLFL— seeinst/schema/qt-explorer.json), so data using those names needs no settings at all. Themeasuressetting selects whichTESTvalues are charted andqtc_measuresmarks which of them are QTc intervals.- lSettings
listsafety.viz qt-explorer settings overrides; merged onto the module'sDEFAULT_SETTINGSclient-side, so only overrides are needed. Setplacebo_armto enable the placebo-corrected (ΔΔ) view.- width
characterWidth of the widget as a CSS unit. Default:NULL.- height
characterHeight of the widget as a CSS unit. Default:NULL.- elementId
characterID of the widget's HTML element. Default:NULL.- bDebug
logicalPrint debug messages in the browser console? Default:FALSE.
Examples
dfResults <- ExampleData("adeg")
# The bundled ADEG data uses the default column names, so the chart
# initializes with no settings.
Widget_QtExplorer(dfResults)
# Name the placebo arm to add the placebo-corrected change (ΔΔ) view.
Widget_QtExplorer(
dfResults,
lSettings = list(
placebo_arm = "Placebo",
filters = list(
list(value_col = "SEX", label = "Sex"),
list(value_col = "RACE", label = "Race"),
list(value_col = "SITE", label = "Site")
)
)
)