From 8154a03c79eb910c42dcff03fd8fa611cdc8cc9d Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc> Date: Tue, 27 Jul 2004 07:36:01 +0000 Subject: First version published on CRAN git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/drfit@1 d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc --- chm/00Index.html | 24 +++++++++ chm/Rchm.css | 25 ++++++++++ chm/antifoul.html | 49 ++++++++++++++++++ chm/drdata.html | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ chm/drfit.chm | Bin 0 -> 22081 bytes chm/drfit.hhp | 17 +++++++ chm/drfit.html | 99 ++++++++++++++++++++++++++++++++++++ chm/drfit.toc | 51 +++++++++++++++++++ chm/drplot.html | 131 ++++++++++++++++++++++++++++++++++++++++++++++++ chm/logo.jpg | Bin 0 -> 8793 bytes 10 files changed, 542 insertions(+) create mode 100644 chm/00Index.html create mode 100644 chm/Rchm.css create mode 100644 chm/antifoul.html create mode 100644 chm/drdata.html create mode 100644 chm/drfit.chm create mode 100644 chm/drfit.hhp create mode 100644 chm/drfit.html create mode 100644 chm/drfit.toc create mode 100644 chm/drplot.html create mode 100644 chm/logo.jpg (limited to 'chm') diff --git a/chm/00Index.html b/chm/00Index.html new file mode 100644 index 0000000..9958f5e --- /dev/null +++ b/chm/00Index.html @@ -0,0 +1,24 @@ +Dose-response data evaluation + + +

Dose-response data evaluation +

+ +
+ + + + + + + + + + + + + + + +
antifoulDose-Response data for TBT and Zink Pyrithione in IPC-81 cells
drdataGet dose-response data
drfitFit dose-response models
drplotPlot dose-response models
+ diff --git a/chm/Rchm.css b/chm/Rchm.css new file mode 100644 index 0000000..badd579 --- /dev/null +++ b/chm/Rchm.css @@ -0,0 +1,25 @@ +BODY{ background: white; + color: black } + +A:link{ background: white; + color: blue } +A:visited{ background: white; + color: rgb(50%, 0%, 50%) } + +H1{ background: white; + color: rgb(55%, 55%, 55%); + font-family: monospace; + font-size: large; + text-align: center } + +H2{ background: white; + color: rgb(0%, 0%, 100%); + font-family: monospace; + text-align: center } + +H3{ background: white; + color: rgb(40%, 40%, 40%); + font-family: monospace } + +IMG.toplogo{ vertical-align: middle } + diff --git a/chm/antifoul.html b/chm/antifoul.html new file mode 100644 index 0000000..12ba527 --- /dev/null +++ b/chm/antifoul.html @@ -0,0 +1,49 @@ +Dose-Response data for TBT and Zink Pyrithione in IPC-81 cells + + + + +
antifoul(drfit)R Documentation
+ + + + + +

Dose-Response data for TBT and Zink Pyrithione in IPC-81 cells

+ + +

Description

+ +

+This data set shows the response of the rat leukaemic cell line IPC-81 to +dilution series of tributyltin chloride (TBT) and Zink Pyrithione as retrieved +from the "cytotox" database of the UFT Department of Bioorganic Chemistry on +February 25, 2004 +

+ + +

Usage

+ +
data(rivers)
+ + +

Format

+ +

+A dataframe containing 135 and 81 data points for concentrations and responses +for TBT and Zink Pyrithione, respecitively. Additional data from the database is +also present. +

+ + +

Source

+ +

+http://www.uft.uni-bremen.de/chemie +

+ + + +
[Package Contents]
+ + diff --git a/chm/drdata.html b/chm/drdata.html new file mode 100644 index 0000000..7dd4a2b --- /dev/null +++ b/chm/drdata.html @@ -0,0 +1,146 @@ +Get dose-response data + + + + +
drdata(drfit)R Documentation
+ + + + + +

Get dose-response data

+ + +

Description

+ +

+Get dose-response data from a remote mysql server +

+ + +

Usage

+ +
+  drdata(substances, experimentator = "%", db = "cytotox", celltype = "IPC-81", 
+    whereClause = "1", ok = "'ok'")
+
+ + +

Arguments

+ + + + + + + + + + + + + + +
substances +A string or an array of strings with the substance names for +which dose-response data is to be retrieved.
experimentator +The name of the experimentator whose data is to be used.
db +The database to be used. Currently only "cytotox" of the UFT Department of +Bioorganic Chemistry is supported.
celltype +Currently, only data for IPC-81, C6, NB4, HeLa, Jurkat and U937 are supported.
whereClause +With this argument, additional conditions for the SQL query can be set, +e.g. "where plate != 710". The default is 1 (in SQL syntax this means TRUE).
ok +With the default value "'ok'", only data that has been checked and set to "ok" +in the database is retrieved. Another sensible argument would be "'ok','?'", in +order to additionally retrieve data which has not yet been checked.
+ +

Details

+ +

+The function is currently only used for retrieving data from the +mysql database "cytotox" of the UFT Department of Bioorganic Chemistry. +Additionally to the installation of the RODBC package, it is required to set +up a ODBC data source with the name "cytotox", using an ODBC driver for mysql, +probably myODBC. Then, under Unix, you can use iodbc or unixodbc for setting +up the respective data source with data source name (DSN) "cytotox". For my +setting using unixodbc, I am using the file ‘/etc/odbcinst.ini’ +containing: + + + + + + + + + + + + + +
[MySQL]
Description = MySQL driver for ODBC
Driver = /usr/local/lib/libmyodbc.so
Setup = /usr/lib/odbc/libodbcmyS.so
+

+and the file ‘/etc/odbc.ini’ containing: + + + + + + + + + + + + + + + + + + + + + + + + + +
[cytotox]
Description = Cytotoxicity database of the department of bioorganic chemistry, UFT Bremen
Driver = MySQL
Trace = Yes
TraceFile = /tmp/odbc.log
Database = cytotox
Server = eckehaat
Port = 3306
+. +

+ + +

Value

+ + + + +
data +A data frame with a factor describing the dose levels, the numeric dose levels +and a numeric column describing the response, as well as the entries for +plate, experimentator, performed (date of test performance), celltype, unit +(of the dose/concentration), and for the ok field in the database.
+ +

Author(s)

+ +

+Johannes Ranke +jranke@uni-bremen.de +http://www.uft.uni-bremen.de/chemie/ranke +

+ + +

Examples

+ +
+# Get cytotoxicity data for Tributyltin and zinc pyrithione, tested with IPC-81 cells
+## Not run: data <- drdata(c("TBT","Zn Pyrithion"))
+
+ + + +
[Package Contents]
+ + diff --git a/chm/drfit.chm b/chm/drfit.chm new file mode 100644 index 0000000..420ddab Binary files /dev/null and b/chm/drfit.chm differ diff --git a/chm/drfit.hhp b/chm/drfit.hhp new file mode 100644 index 0000000..f7e719a --- /dev/null +++ b/chm/drfit.hhp @@ -0,0 +1,17 @@ +[OPTIONS] +Auto Index=Yes +Contents file=drfit.toc +Compatibility=1.1 or later +Compiled file=drfit.chm +Default topic=00Index.html +Display compile progress=No +Full-text search=Yes +Full text search stop list file=..\..\..\gnuwin32\help\R.stp + + +[FILES] +00Index.html +antifoul.html +drdata.html +drfit.html +drplot.html diff --git a/chm/drfit.html b/chm/drfit.html new file mode 100644 index 0000000..0c67eae --- /dev/null +++ b/chm/drfit.html @@ -0,0 +1,99 @@ +Fit dose-response models + + + + +
drfit(drfit)R Documentation
+ + + + + +

Fit dose-response models

+ + +

Description

+ +

+Fit dose-response relationships to dose-response data and calculate +biometric results for (eco)toxicity evaluation +

+ + +

Usage

+ +
+  drfit(data, startlogEC50 = NA, lognorm = TRUE, logis = FALSE, 
+    linearlogis = FALSE, b0 = 2, f0 = 0)
+
+ + +

Arguments

+ + + + + + + + + + + + + + +
data +A data frame as returned from drdata. The data frame has to +contain at least a factor called "substance", a vector called "unit" +containing the unit used for the dose, a column "response" with the +response values of the test system normalized between 0 and 1 and a column +"dose" with the numeric dose values. For later use of the +drplot function, a factor called "dosefactor" also has to be +present, containing the dose as a factor. +
startlogEC50 +Especially for the linearlogis model, a suitable log10 of the EC50 has to be given +by the user, since it is not correctly estimated for data showing hormesis with +the default estimation method.
lognorm +A boolean defining if cumulative density curves of normal distributions +are fitted to the data. Default ist TRUE.
logis +A boolean defining if cumulative densitiy curves of logistic distributions +are fitted to the data. Default is FALSE.
linearlogis +A boolean defining if the linear-logistic function as defined by van Ewijk and Hoekstra +1993 is fitted to the data. Default is FALSE.
b0,f0 +If the linearlogistic model is fitted, b0 and f0 give the possibility to +adapt the starting values for the parameters b and f.
+ +

Value

+ + + + +
results +A data frame containing at least one line for each substance. If the data did not +show a mean response < 0.5 at the highest dose level, the modeltype is set to "none". +Every successful fit is reported in one line. Parameters of the fitted curves are only +reported if the fitted EC50 is not higher than the highest dose.
+ +

Author(s)

+ +

+Johannes Ranke +jranke@uni-bremen.de +http://www.uft.uni-bremen.de/chemie/ranke +

+ + +

Examples

+ +
+## Not run: data(antifoul)
+## Not run: r <- drfit(antifoul)
+## Not run: format(r,digits=2)
+
+ + + +
[Package Contents]
+ + diff --git a/chm/drfit.toc b/chm/drfit.toc new file mode 100644 index 0000000..ceaaa27 --- /dev/null +++ b/chm/drfit.toc @@ -0,0 +1,51 @@ + + + + diff --git a/chm/drplot.html b/chm/drplot.html new file mode 100644 index 0000000..34ae967 --- /dev/null +++ b/chm/drplot.html @@ -0,0 +1,131 @@ +Plot dose-response models + + + + +
drplot(drfit)R Documentation
+ + + + + +

Plot dose-response models

+ + +

Description

+ +

+Produce graphics of dose-response data and dose-response relationships +either combined or separately, for one or more substances. +

+ + +

Usage

+ +
+  drplot(drresults, data, dtype, alpha, path, fileprefix, overlay,
+    postscript, color, colors, fitcolors)
+
+ + +

Arguments

+ + + + + + + + + + + + + + + + + + + + + + + + +
drresults +A data frame as returned from drfit. +
data +A data frame as returned from drdata. If data is to be +plotted, the data frame has to contain at least a factor called +"substance", a vector called "unit" containing the unit used for the dose, +a column "response" with the response values of the test system normalized +between 0 and 1, a column "dose" with the numeric dose values and a factor +called "dosefactor" containing the dose as a factor. If plotting of the data is +not required, data can be set to FALSE. +
dtype +A string describing if the raw data should be plotted ("raw"), or +an error bar should be constructed from the standard deviations of the +responses at each dose level ("std", default value) or from the confidence +intervals ("conf"). Of course, dtype only makes a difference, if a valid data +object has been referenced. +
alpha +The confidence level, defaulting to 0.95, only used if dtype "conf" has been +chosen. +
path +The path where graphic files should be put if any are produced. Defaults +to "./" i.e. the current working directory of R. +
fileprefix +A string which will form the beginning of each filename, if graphic files are +created. Defaults to "drplot". +
overlay +If TRUE, all output will be put into one graph, otherwise a separate graph +will be created for each substance. In the latter case, on-screen display +(postscript=FALSE) only works correctly for data plots. Dose-response models +will all be put into the last graph in this case. +
postscript +If TRUE, (a) postscript graph(s) will be created. Otherwise, graphics will be +displayed with a screen graphics device. +
color +If TRUE, a sensible selection of colors will be attempted. If false, everything +will be drawn in black +
colors +This is a vector of colors, defaulting to 1:8, used for plotting the data. +
fitcolors +Here you can specify a palette for the colors of the dose-response fits. The +default value is "default", which produces rainbow colors. +
+ +

Value

+ + + + +
results +A data frame containing at least one line for each substance. If the data did not +show a mean response < 0.5 at the highest dose level, the modeltype is set to "none". +Every successful fit is reported in one line. Parameters of the fitted curves are only +reported if the fitted EC50 is not higher than the highest dose.
+ +

Author(s)

+ +

+Johannes Ranke +jranke@uni-bremen.de +http://www.uft.uni-bremen.de/chemie/ranke +

+ + +

Examples

+ +
+## Not run: data(antifoul)
+## Not run: r <- drfit(antifoul)
+## Not run: format(r,digits=2)
+
+ + + +
[Package Contents]
+ + diff --git a/chm/logo.jpg b/chm/logo.jpg new file mode 100644 index 0000000..b8e2149 Binary files /dev/null and b/chm/logo.jpg differ -- cgit v1.2.1