Description Usage Arguments Value Note Author(s) References See Also Examples
Download the original DrugBank database
at http://www.drugbank.ca/releases/latest (xml file) into your current
working directory and rename as "drugbank.xml"
then run:
drugbank_df = dbxml2df(xmlfile="drugbank.xml", version="5.0.10")
.
1 |
xmlfile |
Character(1), file path to the xml file downloaded from the DrugBank website at https://www.drugbank.ca/releases/latest |
version |
Character(1), DrugBank version of the xml file |
Dataframe of drugbank xml database.
This process with take about 20 minutes.
Yuzhu Duan yduan004@ucr.edu
http://www.drugbank.ca/releases/latest
1 2 3 4 5 6 7 8 9 10 | library(XML)
## Not run:
## download the original drugbank database at
\url{http://www.drugbank.ca/releases/latest} (xml file)
## into your current directory and rename as drugbank.xml
## convert drugbank database (xml file) into dataframe:
drugbank_df <- dbxml2df(xmlfile="drugbank.xml", version="5.0.10")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.