assaySetTargets | R Documentation |
bioassaySet
object
This takes a bioassaySet
of multiple assays and returns
a vector of the targets of each, with the assay identifiers themselves (aids)
as names. If a single assay contains multiple targets, these will all be listed.
assaySetTargets(assays)
assays |
A |
A character
vector
of the targets of each, with the assay identifiers themselves (aids) as names
Tyler William H Backman
## connect to a test database
extdata_dir <- system.file("extdata", package="bioassayR")
sampleDatabasePath <- file.path(extdata_dir, "sampleDatabase.sqlite")
sampleDB <- connectBioassayDB(sampleDatabasePath)
## retrieve three assays
assays <- getAssays(sampleDB, c("673509","103","105"))
assays
## get the targets for these assays
myTargets <- assaySetTargets(assays)
myTargets
## disconnect from sample database
disconnectBioassayDB(sampleDB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.