tableCI: 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
tableCI(A.data, 
           model       = "G",
           dec         = 2,
           conf        = c(2.5, 97.5), 
           types       = c("T0", "GI50", "TGI","LCt", "AUCq"),
           type.order  = "GI50",
           dose.scale  = "mol/l", 
           dose.logfun = "log10",
           drugs       = 1,
           splitvar    = NULL)

Arguments

A.data

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

model

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

dec

Numeric indicator for the number of decimals.

conf

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

types

vector of characters with the names of the summary statistics.

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.

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,pdfCI,DRdataBoxplot,plot.DRdata,plot.growthModel,plotGrid

Examples

1
2
3
4
require(DoseR)
## load Dose Response data
data(A.data)
tableCI(A.data)

oncoclass/DoseR documentation built on May 24, 2019, 2:18 p.m.