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

connectBioassayDBR Documentation

Create a BioassayDB object connected to the specified database file

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

connectBioassayDB(databasePath, writeable = FALSE)

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

## 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)

girke-lab/bioassayR documentation built on April 28, 2022, 7:34 a.m.