connectBioassayDB: Create a 'BioassayDB' object connected to the specified...

Description Usage Arguments Value Author(s) Examples

Description

This function returns a BioassayDB object for working with a pre-existing bioassayR database, already located on the users filesystem. Users can download pre-built databases for use with this feature from http://chemmine.ucr.edu/bioassayr

Usage

1
connectBioassayDB(databasePath, writeable = F)

Arguments

databasePath

Full path to the database file to be opened.

writeable

logical. Should the database allow data to be modified and written to?

Value

BioassayDB

for details see ?"BioassayDB-class"

Author(s)

Tyler Backman

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## create a test database
library(bioassayR)
filename <- tempfile()
mydb <- newBioassayDB(filename, indexed=FALSE)
disconnectBioassayDB(mydb)

## connect to test database
mydb <- connectBioassayDB(filename)

## close and delete database
disconnectBioassayDB(mydb)
unlink(filename)

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