getUPKBDBRelations | R Documentation |
Get Protein and Drugs relations from UniProt and DrugBank
getUPKBDBRelations(data, proteinList, drugList)
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) |
A dataframe containing the connections between DrugBank drugs and UniProt proteins retrieved from DrugBank and UniProt
Should be preceded by: loadDBXML(DrugBankFile) to get the argument data
## Not run:
data=readDBXML(DBXMLFilePath)
relations=getUPKBDBRelations(data,c("P02747","P05164"),c("DB00001","DB00006"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.