DOI-USGS / toxEval

The toxEval R-package includes a set of functions to analyze, visualize, and organize measured concentration data as it relates to chosen biological effects benchmarks. See https://doi-usgs.github.io/toxEval/ for more details
https://doi-usgs.github.io/toxEval/
Other
20 stars 11 forks source link

List compounds not in ToxCast #364

Closed DrBlackwell closed 4 years ago

DrBlackwell commented 4 years ago

Is there a function to generate a list of compounds not in ToxCast based on CAS #s?

ldecicco-USGS commented 4 years ago

You could do this:

library(toxEval)
CAS <- c("blah-blah","121-00-6","136-85-6","80-05-7")
CAS_not_in <- CAS[!CAS %in% ToxCast_ACC$CAS]
CAS_not_in
[1] "blah-blah"