getDBDrugInteractions: Get DrugBank Drug to Drug Interactions

View source: R/DrugBank.R

getDBDrugInteractionsR Documentation

Get DrugBank Drug to Drug Interactions

Description

Get DrugBank Drug to Drug Interactions

Usage

getDBDrugInteractions(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 of the DrugBank drug entry starting with "DB". This argument can be either a string (one drug) or a list of strings (multiple drugs).

Value

A dataframe containing the DrugBank interactions in which the given drug is involved

Examples

## Not run:  
data=loadDBXML(DBXMLFilePath)
getDBDrugInteractions(data,"DB06605")

## End(Not run)

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