View source: R/tcplMakeAeidPlts.R
| tcplMakeAeidPlts | R Documentation |
tcplMakeAeidPlts creates a .pdf file with the dose-response plots for
the given aeid.
tcplMakeAeidPlts(
aeid,
compare = F,
lvl = 4L,
fname = NULL,
odir = getwd(),
ordr.fitc = TRUE,
cnst = NULL
)
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? |
cnst |
Constant hline to draw on plot |
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.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.