getDBDrug: Get DrugBank drug entry

View source: R/DrugBank.R

getDBDrugR Documentation

Get DrugBank drug entry

Description

Get DrugBank drug entry

Usage

getDBDrug(data, drug)

Arguments

data

The dataframe containing the parsed information of DrugBank. This argument can be obtained using the function loadDBXML(DrugBankFile)

drug

The ID or list of IDs of the DrugBank drug entries starting with "DB"

Value

A dataframe containing the DrugBank entry with its information

Examples

## Not run:  
data=loadDBXML(DrugBankFilePath)
getDBDrug(data, "DB00001")

## End(Not run)

frankkramer-lab/Multipath documentation built on April 30, 2023, 6:08 p.m.