prismDoseResponse: Create a dose response plot similar to those produced by...

Description Usage Arguments Details Author(s)

View source: R/prismDoseResponse.R

Description

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.

Usage

1
2
  prismDoseResponse(tab, nTreatments = 2, errorBars = "std.errors", lwd = 3, 
                    ylab = NULL, xlab = NULL, main = "", col = NULL)

Arguments

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.

Details

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.

Author(s)

Mike L. Smith


crukci-bioinformatics/redpanda documentation built on May 14, 2019, 12:06 p.m.