MonolixSuite in R
Auto Light Dark
Auto Light Dark

plotBEConfidenceIntervals

[PKanalix] BE Confidence Intervals plot

Plot the individual NCA parameters vs covariates.

Usage

R
plotBEConfidenceIntervals(
  parameters = NULL,
  formulations = NULL,
  settings = list(),
  preferences = NULL
)

Arguments

parameters

vector of bioequivalence parameters to display. (by default the first 4 computed parameters are displayed).

formulations

vector of test formulations to display. (by default the first 4 test formulations are displayed).

settings

List with the following settings

  • median (logical) - If TRUE median is displayed (default TRUE).

  • limits (logical) - If TRUE confidence intervals limits are displayed (default TRUE).

  • legend (logical) add (TRUE) / remove (FALSE) plot legend (default FALSE).

  • grid (logical) add (TRUE) / remove (FALSE) plot grid (default TRUE).

  • ylog (logical) add (TRUE) / remove (FALSE) log scaling on y axis (default TRUE).

  • ylab (character) label on y axis (default Ratio).

  • ncol (integer) number of columns when facet = TRUE (default 4).

  • fontsize (integer) Plot text font size.

  • units (logical) Set units in axis labels (default TRUE).

preferences

(optional) preferences for plot display, run getPlotPreferences("plotBEConfidenceIntervals") to check available displays.

Value

  • A ggplot object if one parameter,

  • A TableGrob object if multiple plots (output of grid.arrange)

See also

getPlotPreferences

Examples

R
  initializeLixoftConnectors(software = "pkanalix")
  project <- file.path(getDemoPath(), "2.case_studies/project_Theo_extravasc_SD.pkx")
  loadProject(project)
  runNCAEstimation()
  runBioequivalenceEstimation()
  plotBEConfidenceIntervals()

Output of plotBEConfidenceIntervals for formulation test. Ratio in percent for AUC0-inf, AUC0-tlast and Cmax, each shown as a confidence interval with a median tick. Both AUC intervals, about 91 to 99, are green and lie within the bioequivalence limits of 80 and 125, while the Cmax interval, about 73 to 87, is red because it crosses the lower limit. A dashed line marks 100.
R

  
  plotBEConfidenceIntervals(parameters = "Cmax",
                            settings = list(legend = T))

Output of plotBEConfidenceIntervals for Cmax with legend set to true. Ratio in percent for Cmax, formulation test, shown as a red confidence interval from about 73 to 87 with median near 80, crossing the lower bioequivalence limit at 80. The legend lists Confidence intervals - Non Bioequivalence, Median as a dashed line, and Bioequivalence limits as solid lines at 80 and 125.
R

Last updated: