Skip to content

Commit

Permalink
Getting ready for 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ldecicco-USGS committed May 10, 2024
1 parent 74b1aca commit 4939a37
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,7 @@ vignettes/group.png
vignettes/sites.png
vignettes/thres.png
^docker$
vignettes/update_data.Rmd



Binary file modified vignettes/atrazineDose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 18 additions & 16 deletions vignettes/dose_curves.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Concentration-Response Curves"
date: "`r format(Sys.time(), '%d %B, %Y')`"
output:
rmarkdown::html_vignette:
toc: true
Expand Down Expand Up @@ -71,21 +70,24 @@ ep <- "NVS_ENZ_hPDE4A1"
cas <- "1912-24-9"
chem_info <- tcplLoadChem(field = 'casn', val = cas)
assay_info <- tcplLoadAcid(fld = "acnm", val = ep)
mc3 <- tcplLoadData(lvl = 3, type = "mc",
fld = c("acid","spid"),
val = list(assay_info$acid,
chem_info$spid))
## Load mc tables from levels of interest
mc4 <- tcplLoadData(lvl = 4, type = "mc",
fld = c("spid", "aeid"),
val = list(chem_info$spid,
unique(mc3$aeid)))
tcplPlotM4ID(mc4, lvl = 5)
assay_info <- tcplLoadAeid(fld = "acnm", val = ep)
mc5 <- tcplLoadData(lvl = 5, type = "mc",
fld = c("aeid","spid"),
val = list(assay_info$aeid,
chem_info$spid))
plot_out <- tcplPlot(lvl = 5,
fld = c("spid","aeid"), # fields to query on
val = list(mc5$spid, # sample id's
mc5$aeid # assay endpoint id's
),
by = "aeid", # parameter to divide files
multi = FALSE, # multiple plots per page - output 6 per page if TRUE
verbose = TRUE, # output all details if TRUE
output = "console") # prefix of the filename
plot_out
```

Expand Down

0 comments on commit 4939a37

Please sign in to comment.