View source: R/plotDrugstructure.R
plotDrugstructure | R Documentation |
The function "plotDrugstructure" can plot the chemical structure of a drug.
plotDrugstructure(drugid = "")
drugid |
A drugbank ID. |
A chemical structure of specific drug
# Load depend package
library(ChemmineR)
library(rvest)
# Obtain molecular formula and visualize it.
plotDrugstructure(drugid ="DB00780")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.