| tcplMakeAeidPlts {tcpl} | R Documentation |
Create a .pdf with dose-response plots
Description
tcplMakeAeidPlts creates a .pdf file with the dose-response plots for
the given aeid.
Usage
tcplMakeAeidPlts(
aeid,
compare = F,
lvl = 4L,
fname = NULL,
odir = getwd(),
ordr.fitc = TRUE,
clib = NULL,
cnst = NULL
)
Arguments
aeid |
Integer of length 1 or 2, the assay endpoint id |
compare |
Boolean to for comparison of aeids if length(aeid)>1 |
lvl |
Integer of length 1, the data level to use (4-7). Only level 5-6 valid for compare aeids. |
fname |
Character, the filename |
odir |
The directory to save the .pdf file in |
ordr.fitc |
Logical, should the fits be ordered by fit category? |
clib |
Character, the chemical library to subset on, see |
cnst |
Constant hline to draw on plot
|
Details
tcplMakeAeidPlts provides a wrapper for tcplPlotFits,
allowing the user to produce PDFs with the curve plots without having to
separately load all of the data and establish the PDF device.
If 'fname' is NULL, a default name is given by concatenating together
assay information.
Note, the default value for ordr.fitc is TRUE in
tcplMakeAeidPlts, but FALSE in tcplPlotFits
Note, only level 5 or level 6 is valid for comparing 2 aeids.
Examples
## Not run:
## Will produce the same result as the example for tcplPlotFits
tcplMakeAeidPlts(aeid = 1, lvl = 6, ordr.fitc = FALSE)
## End(Not run)
## Not run:
## Compare two aeids on same plots
tcplMakeAeidPlts(aeid = c(1,2), compare=T, lvl = 6)
## End(Not run)