getAssays: Retrieve multiple bioassays from a database

Description Usage Arguments Value Author(s) Examples

View source: R/queries.R

Description

Retrieves a list of aids as a single bioassaySet matrix object

Usage

1
getAssays(database, aids)

Arguments

database

A BioassayDB database to query.

aids

One or more assay identifier strings (aid), matching aid(s) for assays loaded into the database.

Value

A bioassaySet object containing data from the specified assays.

Author(s)

Tyler William H Backman

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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

## disconnect from sample database
disconnectBioassayDB(sampleDB)

bioassayR documentation built on March 1, 2021, 2 a.m.