dbparser (version 1.2.0)

read_drugbank_xml_db: Reads DrugBank xml database and load it into memory.

Description

read_drugbank_xml_db loads DrugBank xml database full tree into memory.

Usage

read_drugbank_xml_db(drugbank_db_path)

Value

TRUE when the loading process into memory to be used by parser methods is completed successfully and FALSE otherwise.

Arguments

drugbank_db_path

string, full path for the DrugBank xml or zip file.

Details

This functions reads DrugBank xml database and load it into memory for later processing. Hence; this method must be called before any other function in the package and it needs to be called one time only.

It takes one single mandatory argument which is the location of DrugBank db.

Examples

Run this code
if (FALSE) {
read_drugbank_xml_db("db_full_path")
read_drugbank_xml_db(drugbank_db_path = "db_full_path")
}

Run the code above in your browser using DataLab