getDBtoUPKB: Get DrugBank Drugs to UniProt Proteins Relations from...

View source: R/Intraedges.R

getDBtoUPKBR Documentation

Get DrugBank Drugs to UniProt Proteins Relations from DrugBank

Description

Get DrugBank Drugs to UniProt Proteins Relations from DrugBank

Usage

getDBtoUPKB(data, drugList, proteinList)

Arguments

data

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

drugList

The list of DrugBank Ids of the drugs. This argument can be either a string (one drug) or a list of strings (multiple drugs)

proteinList

The list of UniProt Ids of the proteins

Value

A dataframe containing the connections between DrugBank drugs and UniProt proteins retrieved from DrugBank

Examples

## Not run:  
data=readDBXML(DBXMLFilePath)
getDBtoUPKB(data,c("DB00001","DB00002","DB00006"),c("P02747","P00734","P07204","P05164"))

## End(Not run)

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