tauPlot3d: Plot 3d surface of interaction index estimates

Description Usage Arguments Details Value Author(s) See Also

View source: R/plot.tauSurface.R

Description

Plot 3d surface of interaction index estimates

Usage

1
2
3
4
5
6
7
8
9
tauPlot3d(
  tauSurface,
  logScale = TRUE,
  continuous = FALSE,
  funs = NULL,
  addPlane = continuous,
  colorPoints = TRUE,
  widget = FALSE
)

Arguments

tauSurface

A tauSurface object returned by getTauSurface.

logScale

Whether to use log-scale for x and y axes.

continuous

Whether continuous type of plot is requested. This is automatically detected if used via plot.tauSurface, but can be overwritten.

funs

A list with functions to compute tau surface and confidence bands. These are returned by the getTauSurface and are automatically used when the plot.tauSurface is called.

addPlane

Whether to add estimated tau plane.

colorPoints

Whether to color points by synergy/antagonism. Blue color is used for points deemed synergistic (if the confidence interval lies entirely below 1), red for points deemed antagostic' (if the confidence interval lies entirely above 1). Other points are colored white.

widget

Whether to return a "htmlwidget" object instead of plotting on 3d device.

Details

The function returns a 3d plot for the interaction index (tau) estimates as a function of the doses of the two drugs. Pointwise confidence intervals are displayed as error bars. Although the function can be used 'manually', typically one calls the plot.tauSurface method, which then calls this function when which = "3d".

Value

A 3d plot is shown or an object of the class "htmlwidget" as returned by rglwidget.

Author(s)

Maxim Nazarov

See Also

plot.tauSurface, tauPlot2d


drugCombo documentation built on June 30, 2021, 1:07 a.m.