connections: Database Connections

connectionsR Documentation

Database Connections

Description

Get a connection to one of the pre-build compound databases. The DrugBank database is distributed in the ChemmineDrugs package.

The DUD database will be downloaded the first time it is called. It will download a 1.8GB zipped file which will expand to abut 9GB. A directory to store the database in can be passed to the DUD() function.

Usage

DUD(destinationDir=".")

DrugBank()

Arguments

destinationDir

The directory to store the downloaded DUD database in.

Value

A connection object to the ether the DUD or DrugBank database. This object must be passed to other functions which make use of the connection.

Author(s)

Kevin Horan

Examples

	dbConn = DrugBank()

girke-lab/ChemmineR documentation built on July 28, 2023, 10:36 a.m.