pdfCI: LaTeX code for table of summary statistics.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/dataflow.R

Description

Creates LaTeX code for table of summary statistics.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
pdfCI(A.data, 
      model       = "G",
      types       = c("T0", "GI50", "TGI","LCt", "AUCq"),
      conf        = c(2.5, 97.5),
      dec         = 2,
      size        = "small",
      type.order  = "GI50",
      dose.scale  = "mol/l", 
      dose.logfun = "log10",
      drugs        = 1,
      splitvar    = NULL,
      file       = "",
      pdfheight   = "297mm",
      pdfwidth    = "210mm",
      keep.tex    = TRUE,
      compile.tex = TRUE,
      png         = FALSE,
      clean       = TRUE, ...)

Arguments

A.data

A.data object created by the function summary.DRdata.

model

character, the dose response model to get the summary satistices from.

types

vector of characters with the names of the summary statistics.

conf

Numeric vector of legth two with the limits of the confidence interval.

dec

Numeric indicator for the number of decimals.

size

Character, the text siz in the pdf file.

type.order

Character indicating the summary statistic used for sorting.

dose.scale

Character indicating the scale used for concentrations when estimating the isotonic regression and the summary statistcs. The unit is written as e.g. ug/ml to indicate micro grams per milli litre and defaults to mol/l. The unit is written as ug/ml The current implementations for multiples are:

Name deca hecto kilo mega giga tera peta exa zetta yotta
Prefix da h k M G T P E Z Y
Factor 10^0 10^1 10^2 10^3 10^6 10^9 10^12 10^15 10^18 10^21 10^24

The current implementations for fractions are:

Name deci centi milli micro nano pico femto atto zepto yocto
Prefix d c m u n p f a z y
Factor 10^-1 10^-2 10^-3 10^-6 10^-9 10^-12 10^-15 10^-18 10^-21 10^-24
dose.logfun

Character indicating if the concentrations should be log transformed. The possible inputs are nolog for non log transformation, log10, log2, log for log transforming with base 10, 2, and e, respectively.

drugs

Character vector, names of the drugs the table should be based on.

splitvar

Character naming a variable in the dataset by which the cell lines should be grouped.

file

Character specifying the filename for the tex and pdf file.

pdfheight

Numeric indicator for the height of the pdf.

pdfwidth

Numeric indicator for the height of the pdf.

keep.tex

Indicator, Should the tex file be deleted.

compile.tex

Indicator, Should the tex file be compiled.

png

Indicator, should the pdf be converted to a png file.

clean

Indicator, should files associated with compilation of the latex file be removed.

...

Further arguments passed to the function latex of the Hmisc package.

Value

Confidence intervals for the chosen summary statistics and drugs. T0 corresponds to the estimated doubling time. The results will be converted to a tex table and compiled to a pdf.

Author(s)

The function was written at department of haematology, Aalborg University Hospital and maintained by Steffen Falgreen.

References

Steffen Falgreen et al. Exposure time independent summary statistics for assessment of drug dependent cell line growth inhibition (2013)

See Also

CI,tableCI,DRdataBoxplot,plot.DRdata,plot.growthModel,plotGrid

Examples

1
2
3
4
require(DoseR)
## load Dose Response data
data(A.data)
pdfCI(A.data, compile = FALSE)

oncoclass/DoseR documentation built on Nov. 23, 2017, 4:12 a.m.