Title: | Drugs Databases Parser |
---|---|
Description: | This tool is for parsing public drug databases such as 'DrugBank' XML database <https://go.drugbank.com/>. The parsed data are then returned in a proper 'R' object called 'dvobject'. |
Authors: | Mohammed Ali [aut, cre], Ali Ezzat [aut], Hao Zhu [rev], Emma Mendelsohn [rev] |
Maintainer: | Mohammed Ali <[email protected]> |
License: | MIT + file LICENSE |
Version: | 2.0.3 |
Built: | 2024-11-15 05:37:42 UTC |
Source: | https://github.com/ropensci/dbparser |
returns carriers, enzymes,targets and transporters node valid options.
cett_nodes_options()
cett_nodes_options()
list of CETT valid options
Other parsers:
drug_node_options()
,
parseDrugBank()
,
references_node_options()
returns drug node valid options.
drug_node_options()
drug_node_options()
list of drug valid options
Other parsers:
cett_nodes_options()
,
parseDrugBank()
,
references_node_options()
parses given DrugBank XML database into a dvobject. dvobject is a list of data.frames in which each data.frame represents a part of parsed data (i.e drugs, prices, carriers, ...)
parseDrugBank( db_path, drug_options = NULL, parse_salts = FALSE, parse_products = FALSE, references_options = NULL, cett_options = NULL )
parseDrugBank( db_path, drug_options = NULL, parse_salts = FALSE, parse_products = FALSE, references_options = NULL, cett_options = NULL )
db_path |
string, full path for the DrugBank xml or zip file. |
drug_options |
character vector, list of sub drug related nodes
names options to parse (default = NULL). Check |
parse_salts |
boolean, parse salts info (default = FALSE) |
parse_products |
boolean, parse products info (default = FALSE) |
references_options |
character vector, list of sub references
related nodes names options to parse (default = NULL).
Check |
cett_options |
character vector, list of sub cett related nodes
names options to parse (default = NULL). Check |
dvobject
Other parsers:
cett_nodes_options()
,
drug_node_options()
,
references_node_options()
returns references node valid options.
references_node_options()
references_node_options()
list of references valid options
Other parsers:
cett_nodes_options()
,
drug_node_options()
,
parseDrugBank()
init_dvobject Returns data.frame with two columns (key, value) of dvobject attributes
show_dvobject_metadata(dvobject)
show_dvobject_metadata(dvobject)
dvobject |
- dvobject list to show related metadata |
data.frame