Skip to content

Commit eba9dc7

Browse files
committed
352 updates to vignette for loec changes
1 parent a09fd5e commit eba9dc7

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

Diff for: vignettes/Introduction_Appendices.Rmd

+25-2
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ corrected data",
11721172
the \'mc3_aeid\' table to the corrected data to define response",
11731173
"Fit: Model the concentration-response data utilizing ten
11741174
objective curve-fitting functions from tcplfit2: (1) constant, (2) hill, (3) gain-loss, (4) polynomial-linear, (5) polynomial-quadratic, (6) power, (7) exponential-2, (8) exponential-3, (9) exponential-4, (10) exponential-5",
1175-
"Model Selection/Acitivty Call: Select the winning model, define
1175+
"Model Selection/Activity Call: Select the winning model, define
11761176
the response cutoff based on methods in the \'mc5_aeid\' table, and
11771177
determine activity",
11781178
"Flag: Flag potential false positive and false negative fits",
@@ -1861,6 +1861,27 @@ htmlTable(output,
18611861
)
18621862
```
18631863

1864+
In addition, for certain data, sometimes hitcalling based on model fits alone does not make sense. There are two methods for including a "loec", or the lowest observed effective concentration, within the output of level 5 processing and stored within the mc5_param table. One method stores the "loec" where the other does the same while also overwriting values such as model_type, hitc, fitc (fit category), and modl (winning model). See [Plotting](#additional-examples) for how "loec"-fit data are plot.
1865+
1866+
```{r warning = FALSE, echo = FALSE}
1867+
Method <- c(15,34)
1868+
Method_Name <- c("ow_loec.coff", "include_loec.coff")
1869+
Description <- c(
1870+
"Identify the lowest observed effective concentration (loec) where the values of all responses are outside the cutoff band (i.e. abs(resp) > cutoff). loec is stored alongside winning model and potency estimates. If loec exists, assume hit call = 1, fitc = 100, model_type = 1, and if not, assume hit call = 0.",
1871+
"Identify the lowest observed effective concentration (loec) where the values of all responses are outside the cutoff band (i.e. abs(resp) > cutoff). loec is stored alongside winning model and potency estimates."
1872+
)
1873+
# Compile all of the information for the table.
1874+
output <- data.frame(Method,Method_Name,Description)
1875+
# Export/print the table to an html rendered table.
1876+
htmlTable(output,
1877+
align = 'l',
1878+
align.header = 'l',
1879+
rnames = FALSE ,
1880+
css.cell = ' padding-bottom: 5px; vertical-align:top; padding-right: 10px;min-width: 5em ',
1881+
caption="Table 12: Level 5 methods for including loec values and overwriting others."
1882+
)
1883+
```
1884+
18641885
The example we include in this vignette for demonstrating the assignment of level 5 methods specifies three different efficacy cutoff estimates for consideration. These efficacy cutoff estimates include $3*\mathit{bmad}$, $log_2(1.2)$, and $5*\mathit{bmad}$, which correspond to $\mathit{mthd\_id}$ assignments 1, 3, and 5 respectively, and the largest of these three values will be selected as the cutoff for the endpoint. With the methods assigned, the data are ready for MC5 processing.
18651886

18661887
```{r eval=FALSE}
@@ -3251,7 +3272,9 @@ tcplPlot(dat = plot_data, by = "aeid", multi = TRUE, output = "pdf", fileprefix
32513272

32523273
### - Plot LOEC (Lowest Observed Effective Concentration)
32533274

3254-
<font face="CMTT10">tcplPlot</font> now supports the plotting of vertical "LOEC" lines, automatically detecting when multi-concentration data is hit-called using the new level 5 processing method "loec.coff". Comparison LOEC plotting with other LOEC samples or crossed with traditional hit-called data with winning models is also supported.
3275+
<font face="CMTT10">tcplPlot</font> now supports the plotting of vertical "LOEC" lines, automatically detecting when multi-concentration data is hit-called using the new level 5 processing method "ow_loec.coff". Comparison LOEC plotting with other LOEC samples or crossed with traditional hit-called data with winning models is also supported.
3276+
3277+
Note - for data processed with the level 5 method "include_loec.coff", <font face="CMTT10">tcplPlot</font> will not automatically generate this kind of plot. A current workaround is to pre-load the plot data using `tcplPlotLoadData` and update the $\mathit{model\_type}$ column to `1` for any or all sample(s). Future <font face="CMTT10">tcpl</font> versions may include additive "LOEC" lines as an option.
32553278

32563279
```{r plot_loec, eval = FALSE}
32573280
# default parameters used here: type = "mc"

0 commit comments

Comments
 (0)