gtoxMakeAeidPlts: Create a .pdf with dose-response plots

View source: R/gtoxMakeAeidPlts.R

gtoxMakeAeidPltsR Documentation

Create a .pdf with dose-response plots

Description

gtoxMakeAeidPlts creates a .pdf file with the dose-response plots for the given aeid.

Usage

gtoxMakeAeidPlts(aeid, lvl = 4L, fname = NULL, odir = getwd(),
  ordr.fitc = TRUE, clib = NULL)

Arguments

aeid

Integer of length 1, the assay endpoint id

lvl

Integer of lengh 1, the data level to use (4-6)

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 gtoxLoadClib for more information.

Details

gtoxMakeAeidPlts provides a wrapper for gtoxPlotFits, 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 gtoxMakeAeidPlts, but FALSE in gtoxPlotFits

Value

None

Examples

## Save Aeid plot in a pdf file
gtoxMakeAeidPlts(aeid = 10, lvl = 6, ordr.fitc = FALSE)


pmpsa-hpc/GladiaTOX documentation built on Sept. 1, 2023, 5:52 p.m.