disconnectBioassayDB: Disconnect the database file from a 'BioassayDB' object

Description Usage Arguments Author(s) Examples

Description

This function disconnects the underlying sqlite database from a BioassayDB object. This is a critical step for writeable databases, but can be omitted for read only databases.

Usage

1

Arguments

database

A codeBioassayDB object to be disconnected.

Author(s)

Tyler Backman

Examples

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

## disconnect from database
mydb <- connectBioassayDB(filename)

## delete database file
unlink(filename)

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