plotSurface: plotSurface

Description Usage Arguments

Description

Plots a surface using Plotly and returns the URL

Usage

1
2
3
4
plotSurface(plotlyUsername, plotlyKey, modFilePath,
  paramsToCompare = c("THETA1", "THETA2"), resol = 10, ofvScaling = FALSE,
  absolute = FALSE, slurm_partition = "standard", cleanLevel = 4,
  plotOrigVals = FALSE, ...)

Arguments

plotlyUsername

Plotly online user name. Not needed if environment variables already set. See plotly instructions.

plotlyKey

Plotly online key. Not needed if environment variables already set. See plotly instructions.

modFilePath

Model file to use. The called function createRawresInput assumes that there is an ext file with the same base file name.

paramsToCompare

Parameters to compare. A vector of two parameter names following the NONMEM ext file standard names. Default is c("THETA1", "THETA2"). Model file parameter labels will be removed.

resol

Resolution on each axis. Default is 10 and will use 10^2 = 100 sets of parameter values, NONMEM runs, and ofv values to create the plot.

ofvScaling

If true OFVs are scaled to between zero and one. Default is FALSE.

absolute

Whether or not to take the absolute value of all parameter values before constructing the input file. Limits applied to the parameters to be plotted against may still be negative, making the plot stretch into negative space. Default is FALSE.

cleanLevel

PsN clean script will be run on the parallel retries folder. See psn_clean documentation. Default is 4, the highest cleaning level.

...

Further options to createRawresInput

origVals

Whether or not to plot the original model final estimate as a point in the plot.


UppsalaHenrik/nmsurfaceplot documentation built on June 4, 2019, 2:02 a.m.