All functions |
|
|---|---|
adds errorbars to a plot |
|
adds horizontal reference lines to plot |
|
adds secondary data to a plot |
|
Computes the concentration needed for a upper conf_int prediction of the threshold value. |
|
Compute contrast observations for prediction plots |
|
Simulates a dataset used to fit the model. |
|
computes delta HR BL Mean |
|
Computes Baseline Mean QTCB |
|
Computes Baseline Mean QTCF |
|
Computes delta variables RR, QTCF, HR, etc |
|
Generates a tibble of summary of QTc, dQTc and ddQTc over time stratified by dose |
|
Exposure Normalized GRI computation |
|
Predicts dQTC over range of concentration values with contrast. To help keep the predictions quick, the concentration values to predict at are done at on order of magnitude of concentration values, if max(conc) = 7340, then by = 100 |
|
computes all fitted results and residuals for GOF plots |
|
computes a the mean and standard deviation of the dependent variable data in DV_col grouped by time and dose. |
|
Computes the number of subjects with QTc > 450, 500 as well as deltaQTc > 30, 60 |
|
Gets labeller for hysteresis_loop_plot. Should most likely not be used by user |
|
Fits a linear model of input dataframe |
|
Takes the slope from a lme model and its confidence interval |
|
Computes R-squared and Adjusted R-squared of loess regression compared to linear regression. Used for determining linearity of C-QT data |
|
Converts tTable of summary(model_fit) to tibble and adds CIs. |
|
Generates pk parameters Cmax and Tmax for exporsure predictions. |
|
Detects the pressence of hysteresis |
|
Computes QTCF and QTCB from qt_col and rr_col and QTCFBL and QTCBBL from qtbl_col and rrbl_col |
|
returns a dataframe of quantiles of concentrations and deltaQTcs |
|
Creates a dataframe summarizing number of subjects in each trtreatment group |
|
Wrapper for calling compute_dataset_simulation nruns time and computing summary statsitics of the simulations |
|
Baseline data for dofetilide C-QT study |
|
Baseline data for quinidine C-QT study |
|
Baseline data for ranolazine C-QT study |
|
Baseline data for verapamil C-QT study |
|
C-QT analysis dataset for dofetilide with significant QTc effect (~38 ms prolongation) |
|
C-QT analysis dataset for quinidine with significant QTc effect (~50 ms prolongation) |
|
C-QT analysis dataset for ranolazine with moderate QTc effect (~14 ms prolongation) |
|
C-QT analysis dataset for verapamil with minimal QTc effect (~8 ms prolongation) |
|
Hysteresis loop plot to visually inspect hysteresis |
|
Plots mean dependent variable over time |
|
Plot QT against RR |
|
plots different corrections of QT against RR to compare which to use. |
|
plots the observed decile-decile scatter plot of x-data vs y-data with linear regression. |
|
plots scatter plot with with linear and loess regressions. Can be used to check for linearity. |
|
generates nlme::lme model either prespecified or without TRT and TIME. |
|
Fits QT(c) data to linear mixed effects model with fixed effects of intercept and RR slope, with random effects on intercept and slope. |
|
Concordance plots between population and individual predictions |
|
Makes goodness of fit plots |
|
Plots QQ plot of WRES and IWRES |
|
Plots residuals vs predicted dQTCF and concentration |
|
plots boxplots of residuals over Nominal Times |
|
generates boxplots for treatment group |
|
Performs a visual predictive check and plots the results |
|
Plots model predictions with therapeutic and supra therapeutic Cmax |
|
Plots predictions of the model with observed values |
|
Plots predictions and 90% CI |
|
Pre-processes data Computes QTcB, QTcF, deltaQTcF, deltaQTcB, deltaHR, deltaQTcB Baseline Mean, deltaQTcF Baseline Mean, deltaHR Baseline Mean |
|
Creates a style list for eda graphing functions |
|
Styles a plot with provided colors and labels |
|
Generates a gt table of summary of QTc, dQTc and ddQTc over time stratified by dose |
|
Tablulates exposure predictions at therapeutic and supratherapuetic Cmax. |
|
Tabulates number of high QTc/deltaQTc observations. |
|
Generates table of model parameter esitmates and statistics |
|
Converts pk_parameters df into gt table for printing |
|
Creates a gt table of study summary for number of subjects in each grouping |
|