Skip to content
Discussion options

You must be logged in to vote

Hi @dgcovell,
For mechanism_of_action it can be found in pharmacology data.frame . You can obtain this data.frame with either of the following:

  • Using dbdataset package that contains the latest parsed dvobject
library(dbdataset)
View(dbdataset::drugbank$drugs$pharmacology)
  • Or by creating your own dvobject using dbparser as follow:
library(dbparser)
dvobj <- parseDrugBank(db_path = "C:/drugbank_all_full_database.xml.zip", drug_options = "pharmacology")
View(dvobj$drugs$pharmacology)
  • The final data.frame is the same and should be similar to the following:

For the examples in https://docs.ropensci.org/dbparser/articles/dbparser.html#exploring-the-data, I tested them using the recent …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MohammedFCIS
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #173 on February 23, 2025 12:49.