gtoxPlotWin {GladiaTOX} | R Documentation

## Create winning curve plots

### Description

`gtoxPlotWin` creates best fit plot.

### Usage

    gtoxPlotWin(chid, aeid, bline = "bmad", collapse = TRUE)

### Arguments

`chid` | Integer of length 1, the chid value
`aeid` | Integer, the aeid values to plot
`bline` | Character of length 1, the value used for drawing the baseline noise
`collapse` | Logical, collapse the data by spid when true

### Details

When 'collapse' is TRUE the plotted points will be the mean of the values based on spid.

Any values for 'bline' other than 'coff' will use 3*bmad.

### Value

None

### Examples

    ## Not run:
    ## Load chemical ID
    chid <- gtoxLoadChem(field="chnm", val="acrylamide", include.spid=FALSE)$chid

    ## Load Assay endpoint ID
    aeid <- gtoxLoadAeid(fld=c("asid","aenm"),
    val=list(1L, "GSH content_GSH content_4h_dn"), add.fld="asid")$aeid

    ## Plot winning model
    gtoxPlotWin(chid = chid, aeid = aeid, bline="bmad", collapse=TRUE)

    ## End(Not run)

[Package GladiaTOX version 1.2.0 Index]