getAssay | R Documentation |
Retrieves a bioassay as a bioassay
object from a bioassayR database by identifier.
getAssay(database, aid)
database |
A |
aid |
The assay identifier string (aid), matching an aid for an assay loaded into the database. |
A bioassay
object containing the requested assay.
Tyler Backman
## connect to a test database
extdata_dir <- system.file("extdata", package="bioassayR")
sampleDatabasePath <- file.path(extdata_dir, "sampleDatabase.sqlite")
sampleDB <- connectBioassayDB(sampleDatabasePath)
## retrieve an assay
assay <- getAssay(sampleDB, "673509")
assay
## disconnect from sample database
disconnectBioassayDB(sampleDB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.