| allTargets | R Documentation |
BioassayDB, bioassay, bioassaySet, or target matrix (dgCMatrix) object
Returns a vector of target ids contained within a
BioassayDB, bioassay, bioassaySet, or target matrix (dgCMatrix) object.
allTargets(inputObject)
inputObject |
A |
A vector of distinct target ids. No particular order
is guaranteed.
Tyler Backman
## connect to a test database
extdata_dir <- system.file("extdata", package="bioassayR")
sampleDatabasePath <- file.path(extdata_dir, "sampleDatabase.sqlite")
sampleDB <- connectBioassayDB(sampleDatabasePath)
## get all target ids
myTargets <- allTargets(sampleDB)
## disconnect from database
disconnectBioassayDB(sampleDB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.