Description Usage Arguments Value Author(s) Examples
Returns all compound cids screened against at least 'minTargets' distinct target identifiers. For a very large database (such as PubChem Bioassay) this function may take a long time to run.
1 | screenedAtLeast(database, minTargets, inconclusives=TRUE)
|
database |
A |
minTargets |
The minimum number of distinct targets for each returned cid. |
inconclusives |
Logical. If |
Returns a character
vector of all CIDs meeting the specified criteria.
Tyler Backman
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## connect to a test database
extdata_dir <- system.file("extdata", package="bioassayR")
sampleDatabasePath <- file.path(extdata_dir, "sampleDatabase.sqlite")
sampleDB <- connectBioassayDB(sampleDatabasePath)
## get all CIDS screened against at least 2 distinct targets
highlyScreened <- screenedAtLeast(sampleDB, 2)
highlyScreened
## get all CIDS screened against at least 2 distinct targets with conclusive results
highlyScreened <- screenedAtLeast(sampleDB, 2, inconclusives=FALSE)
highlyScreened
## disconnect from database
disconnectBioassayDB(sampleDB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.