prismTimeSeries: Create a time series plot similar to those produced by...

Description Usage Arguments Author(s)

View source: R/prismTimeSeries.R

Description

Our attempt to create a time series 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
  prismTimeSeries(tab, nTreatments = 3, 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.

Author(s)

Mike L. Smith, Mark Dunning


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