getUPKBDBRelations: Get Protein and Drugs relations from UniProt and DrugBank

View source: R/Intraedges.R

getUPKBDBRelationsR Documentation

Get Protein and Drugs relations from UniProt and DrugBank

Description

Get Protein and Drugs relations from UniProt and DrugBank

Usage

getUPKBDBRelations(data, proteinList, drugList)

Arguments

data

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

proteinList

The list of UniProt Ids of the proteins

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)

Value

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

Note

Should be preceded by: loadDBXML(DrugBankFile) to get the argument data

Examples

## Not run: 
data=readDBXML(DBXMLFilePath)
relations=getUPKBDBRelations(data,c("P02747","P05164"),c("DB00001","DB00006"))

## End(Not run)

frankkramer-lab/Multipath documentation built on June 12, 2025, noon