newBioassayDB: Create a new bioassayR database

Description Usage Arguments Author(s) Examples

View source: R/loadingData.R

Description

This function creates a new bioassayR database at the specified filesystem location, and returns a BioassayDB object connected to the new database.

Usage

1
newBioassayDB(databasePath, writeable = T, indexed = F)

Arguments

databasePath

Full path to the database file to be created.

writeable

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

indexed

logical. Should a performance enhancing index be created? The default is false, as typically an index is added only after initial data is loaded. Data loading is much slower into an already indexed database.

Author(s)

Tyler Backman

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## get a temporary filename
library(bioassayR)
filename <- tempfile()

## create a new bioassayR database
mydb <- newBioassayDB(filename, indexed=FALSE)

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

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