Description Usage Arguments Details Author(s)
View source: R/prismDoseResponse.R
Our attempt to create a dose response plot that looks similar to those produced by GraphPad Prism. The intention is to reproduce plots as closely as possible, without overwhelming the user with possible plotting options. If you find fuctionality you'd like to be added please contact the package authors.
1 2 | prismDoseResponse(tab, nTreatments = 2, errorBars = "std.errors", lwd = 3,
ylab = NULL, xlab = NULL, main = "", col = NULL)
|
tab |
A data frame object. Expected to have one row per time point, with a column for each sample in the study. The first column is expected to be the time and all subsequent columns are expected to be measurments. |
nTreatments |
Integer value specifying the number of treatments. |
errorBars |
Character string specifying the calculation to be used for drawing error bars. Can take one of four values: "std.dev", "std.errors", "conf.intervals", or "none". Defaults to "std.errors". |
lwd |
Integer specifying the thickness of the lines. Increasing this value will generate thicker lines. |
ylab |
Label for the y axis. |
xlab |
Label for the x axis. |
main |
Title for the plot. |
col |
Specify colours for the curves and points. |
This plot is based heavily on the drc package. If it doesn't look how you'd hope and the options to alter the plot in the way you'd like are not available, then consider using that package directly as it has many more options than you can currently access here.
Mike L. Smith
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.