`, etc.) that has more than one element. Defaults to 1 (for `
`).
76 | getTopLevel: function($scope) {
77 | for (var i = 1; i <= 6; i++) {
78 | var $headings = this.findOrFilter($scope, 'h' + i);
79 | if ($headings.length > 1) {
80 | return i;
81 | }
82 | }
83 |
84 | return 1;
85 | },
86 |
87 | // returns the elements for the top level, and the next below it
88 | getHeadings: function($scope, topLevel) {
89 | var topSelector = 'h' + topLevel;
90 |
91 | var secondaryLevel = topLevel + 1;
92 | var secondarySelector = 'h' + secondaryLevel;
93 |
94 | return this.findOrFilter($scope, topSelector + ',' + secondarySelector);
95 | },
96 |
97 | getNavLevel: function(el) {
98 | return parseInt(el.tagName.charAt(1), 10);
99 | },
100 |
101 | populateNav: function($topContext, topLevel, $headings) {
102 | var $context = $topContext;
103 | var $prevNav;
104 |
105 | var helpers = this;
106 | $headings.each(function(i, el) {
107 | var $newNav = helpers.generateNavItem(el);
108 | var navLevel = helpers.getNavLevel(el);
109 |
110 | // determine the proper $context
111 | if (navLevel === topLevel) {
112 | // use top level
113 | $context = $topContext;
114 | } else if ($prevNav && $context === $topContext) {
115 | // create a new level of the tree and switch to it
116 | $context = helpers.createChildNavList($prevNav);
117 | } // else use the current $context
118 |
119 | $context.append($newNav);
120 |
121 | $prevNav = $newNav;
122 | });
123 | },
124 |
125 | parseOps: function(arg) {
126 | var opts;
127 | if (arg.jquery) {
128 | opts = {
129 | $nav: arg
130 | };
131 | } else {
132 | opts = arg;
133 | }
134 | opts.$scope = opts.$scope || $(document.body);
135 | return opts;
136 | }
137 | },
138 |
139 | // accepts a jQuery object, or an options object
140 | init: function(opts) {
141 | opts = this.helpers.parseOps(opts);
142 |
143 | // ensure that the data attribute is in place for styling
144 | opts.$nav.attr('data-toggle', 'toc');
145 |
146 | var $topContext = this.helpers.createChildNavList(opts.$nav);
147 | var topLevel = this.helpers.getTopLevel(opts.$scope);
148 | var $headings = this.helpers.getHeadings(opts.$scope, topLevel);
149 | this.helpers.populateNav($topContext, topLevel, $headings);
150 | }
151 | };
152 |
153 | $(function() {
154 | $('nav[data-toggle="toc"]').each(function(i, el) {
155 | var $nav = $(el);
156 | Toc.init($nav);
157 | });
158 | });
159 | })();
160 |
--------------------------------------------------------------------------------
/docs/docsearch.js:
--------------------------------------------------------------------------------
1 | $(function() {
2 |
3 | // register a handler to move the focus to the search bar
4 | // upon pressing shift + "/" (i.e. "?")
5 | $(document).on('keydown', function(e) {
6 | if (e.shiftKey && e.keyCode == 191) {
7 | e.preventDefault();
8 | $("#search-input").focus();
9 | }
10 | });
11 |
12 | $(document).ready(function() {
13 | // do keyword highlighting
14 | /* modified from https://jsfiddle.net/julmot/bL6bb5oo/ */
15 | var mark = function() {
16 |
17 | var referrer = document.URL ;
18 | var paramKey = "q" ;
19 |
20 | if (referrer.indexOf("?") !== -1) {
21 | var qs = referrer.substr(referrer.indexOf('?') + 1);
22 | var qs_noanchor = qs.split('#')[0];
23 | var qsa = qs_noanchor.split('&');
24 | var keyword = "";
25 |
26 | for (var i = 0; i < qsa.length; i++) {
27 | var currentParam = qsa[i].split('=');
28 |
29 | if (currentParam.length !== 2) {
30 | continue;
31 | }
32 |
33 | if (currentParam[0] == paramKey) {
34 | keyword = decodeURIComponent(currentParam[1].replace(/\+/g, "%20"));
35 | }
36 | }
37 |
38 | if (keyword !== "") {
39 | $(".contents").unmark({
40 | done: function() {
41 | $(".contents").mark(keyword);
42 | }
43 | });
44 | }
45 | }
46 | };
47 |
48 | mark();
49 | });
50 | });
51 |
52 | /* Search term highlighting ------------------------------*/
53 |
54 | function matchedWords(hit) {
55 | var words = [];
56 |
57 | var hierarchy = hit._highlightResult.hierarchy;
58 | // loop to fetch from lvl0, lvl1, etc.
59 | for (var idx in hierarchy) {
60 | words = words.concat(hierarchy[idx].matchedWords);
61 | }
62 |
63 | var content = hit._highlightResult.content;
64 | if (content) {
65 | words = words.concat(content.matchedWords);
66 | }
67 |
68 | // return unique words
69 | var words_uniq = [...new Set(words)];
70 | return words_uniq;
71 | }
72 |
73 | function updateHitURL(hit) {
74 |
75 | var words = matchedWords(hit);
76 | var url = "";
77 |
78 | if (hit.anchor) {
79 | url = hit.url_without_anchor + '?q=' + escape(words.join(" ")) + '#' + hit.anchor;
80 | } else {
81 | url = hit.url + '?q=' + escape(words.join(" "));
82 | }
83 |
84 | return url;
85 | }
86 |
--------------------------------------------------------------------------------
/docs/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/favicon-16x16.png
--------------------------------------------------------------------------------
/docs/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/favicon-32x32.png
--------------------------------------------------------------------------------
/docs/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/favicon.ico
--------------------------------------------------------------------------------
/docs/link.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
--------------------------------------------------------------------------------
/docs/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/logo.png
--------------------------------------------------------------------------------
/docs/pkgdown.js:
--------------------------------------------------------------------------------
1 | /* http://gregfranko.com/blog/jquery-best-practices/ */
2 | (function($) {
3 | $(function() {
4 |
5 | $('.navbar-fixed-top').headroom();
6 |
7 | $('body').css('padding-top', $('.navbar').height() + 10);
8 | $(window).resize(function(){
9 | $('body').css('padding-top', $('.navbar').height() + 10);
10 | });
11 |
12 | $('[data-toggle="tooltip"]').tooltip();
13 |
14 | var cur_path = paths(location.pathname);
15 | var links = $("#navbar ul li a");
16 | var max_length = -1;
17 | var pos = -1;
18 | for (var i = 0; i < links.length; i++) {
19 | if (links[i].getAttribute("href") === "#")
20 | continue;
21 | // Ignore external links
22 | if (links[i].host !== location.host)
23 | continue;
24 |
25 | var nav_path = paths(links[i].pathname);
26 |
27 | var length = prefix_length(nav_path, cur_path);
28 | if (length > max_length) {
29 | max_length = length;
30 | pos = i;
31 | }
32 | }
33 |
34 | // Add class to parent
, and enclosing
if in dropdown
35 | if (pos >= 0) {
36 | var menu_anchor = $(links[pos]);
37 | menu_anchor.parent().addClass("active");
38 | menu_anchor.closest("li.dropdown").addClass("active");
39 | }
40 | });
41 |
42 | function paths(pathname) {
43 | var pieces = pathname.split("/");
44 | pieces.shift(); // always starts with /
45 |
46 | var end = pieces[pieces.length - 1];
47 | if (end === "index.html" || end === "")
48 | pieces.pop();
49 | return(pieces);
50 | }
51 |
52 | // Returns -1 if not found
53 | function prefix_length(needle, haystack) {
54 | if (needle.length > haystack.length)
55 | return(-1);
56 |
57 | // Special case for length-0 haystack, since for loop won't run
58 | if (haystack.length === 0) {
59 | return(needle.length === 0 ? 0 : -1);
60 | }
61 |
62 | for (var i = 0; i < haystack.length; i++) {
63 | if (needle[i] != haystack[i])
64 | return(i);
65 | }
66 |
67 | return(haystack.length);
68 | }
69 |
70 | /* Clipboard --------------------------*/
71 |
72 | function changeTooltipMessage(element, msg) {
73 | var tooltipOriginalTitle=element.getAttribute('data-original-title');
74 | element.setAttribute('data-original-title', msg);
75 | $(element).tooltip('show');
76 | element.setAttribute('data-original-title', tooltipOriginalTitle);
77 | }
78 |
79 | if(ClipboardJS.isSupported()) {
80 | $(document).ready(function() {
81 | var copyButton = "";
82 |
83 | $("div.sourceCode").addClass("hasCopyButton");
84 |
85 | // Insert copy buttons:
86 | $(copyButton).prependTo(".hasCopyButton");
87 |
88 | // Initialize tooltips:
89 | $('.btn-copy-ex').tooltip({container: 'body'});
90 |
91 | // Initialize clipboard:
92 | var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', {
93 | text: function(trigger) {
94 | return trigger.parentNode.textContent.replace(/\n#>[^\n]*/g, "");
95 | }
96 | });
97 |
98 | clipboardBtnCopies.on('success', function(e) {
99 | changeTooltipMessage(e.trigger, 'Copied!');
100 | e.clearSelection();
101 | });
102 |
103 | clipboardBtnCopies.on('error', function() {
104 | changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy');
105 | });
106 | });
107 | }
108 | })(window.jQuery || window.$)
109 |
--------------------------------------------------------------------------------
/docs/pkgdown.yml:
--------------------------------------------------------------------------------
1 | pandoc: 3.1.1
2 | pkgdown: 2.0.7
3 | pkgdown_sha: ~
4 | articles:
5 | dbparser: dbparser.html
6 | last_built: 2024-04-20T04:20Z
7 |
8 |
--------------------------------------------------------------------------------
/docs/reference/Drugs.csv:
--------------------------------------------------------------------------------
1 | ""
2 |
--------------------------------------------------------------------------------
/docs/reference/carr_poly_ex_identitys.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/carr_poly_ex_identitys.csv
--------------------------------------------------------------------------------
/docs/reference/carr_poly_go.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/carr_poly_go.csv
--------------------------------------------------------------------------------
/docs/reference/carr_poly_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/carr_poly_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/carr_poly_syn.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/carr_poly_syn.csv
--------------------------------------------------------------------------------
/docs/reference/drug_affected_organisms.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_affected_organisms.csv
--------------------------------------------------------------------------------
/docs/reference/drug_ahfs_codes.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_ahfs_codes.csv
--------------------------------------------------------------------------------
/docs/reference/drug_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_atc_codes.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_atc_codes.csv
--------------------------------------------------------------------------------
/docs/reference/drug_books.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_books.csv
--------------------------------------------------------------------------------
/docs/reference/drug_calculated_properties.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_calculated_properties.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_actions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_actions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_polypeptide_external_identifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_polypeptide_external_identifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_polypeptide_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_polypeptide_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_polypeptide_synonyms.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_polypeptide_synonyms.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_polypeptides.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_polypeptides.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_polypeptides_go_classifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_polypeptides_go_classifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_carriers_textbooks.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_carriers_textbooks.csv
--------------------------------------------------------------------------------
/docs/reference/drug_categories.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_categories.csv
--------------------------------------------------------------------------------
/docs/reference/drug_classifications.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_classifications.csv
--------------------------------------------------------------------------------
/docs/reference/drug_dosages.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_dosages.csv
--------------------------------------------------------------------------------
/docs/reference/drug_drug_interactions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_drug_interactions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzy_poly_ex_identity.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzy_poly_ex_identity.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzy_poly_go.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzy_poly_go.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzy_poly_syn.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzy_poly_syn.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_actions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_actions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_polypeptide_external_identifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_polypeptide_external_identifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_polypeptide_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_polypeptide_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_polypeptide_synonyms.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_polypeptide_synonyms.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_polypeptides.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_polypeptides.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_polypeptides_go_classifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_polypeptides_go_classifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_enzymes_textbooks.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_enzymes_textbooks.csv
--------------------------------------------------------------------------------
/docs/reference/drug_experimental_properties.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_experimental_properties.csv
--------------------------------------------------------------------------------
/docs/reference/drug_external_identifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_external_identifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_external_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_external_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_food_interactions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_food_interactions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_groups.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_groups.csv
--------------------------------------------------------------------------------
/docs/reference/drug_international_brands.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_international_brands.csv
--------------------------------------------------------------------------------
/docs/reference/drug_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_manufacturers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_manufacturers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_mixtures.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_mixtures.csv
--------------------------------------------------------------------------------
/docs/reference/drug_packagers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_packagers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_patents.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_patents.csv
--------------------------------------------------------------------------------
/docs/reference/drug_pathway.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_pathway.csv
--------------------------------------------------------------------------------
/docs/reference/drug_pathway_drugs.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_pathway_drugs.csv
--------------------------------------------------------------------------------
/docs/reference/drug_pathway_enzymes.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_pathway_enzymes.csv
--------------------------------------------------------------------------------
/docs/reference/drug_pdb_entries.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_pdb_entries.csv
--------------------------------------------------------------------------------
/docs/reference/drug_prices.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_prices.csv
--------------------------------------------------------------------------------
/docs/reference/drug_products.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_products.csv
--------------------------------------------------------------------------------
/docs/reference/drug_reactions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_reactions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_reactions_enzymes.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_reactions_enzymes.csv
--------------------------------------------------------------------------------
/docs/reference/drug_salts.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_salts.csv
--------------------------------------------------------------------------------
/docs/reference/drug_sequences.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_sequences.csv
--------------------------------------------------------------------------------
/docs/reference/drug_snp_adverse_drug_reactions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_snp_adverse_drug_reactions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_snp_effects.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_snp_effects.csv
--------------------------------------------------------------------------------
/docs/reference/drug_syn.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_syn.csv
--------------------------------------------------------------------------------
/docs/reference/drug_synonyms.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_synonyms.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_actions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_actions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_poly_ex_identity.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_poly_ex_identity.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_poly_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_poly_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_poly_syn.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_poly_syn.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_polys.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_polys.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_polys_go.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_polys_go.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targ_textbooks.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targ_textbooks.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_actions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_actions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_polypeptide_external_identifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_polypeptide_external_identifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_polypeptide_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_polypeptide_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_polypeptide_synonyms.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_polypeptide_synonyms.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_polypeptides.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_polypeptides.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_polypeptides_go_classifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_polypeptides_go_classifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_targets_textbooks.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_targets_textbooks.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_actions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_actions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_poly_ex_identity.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_poly_ex_identity.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_poly_syn.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_poly_syn.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_polys.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_polys.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_polys_go.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_polys_go.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_polys_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_polys_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/drug_trans_textbooks.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_trans_textbooks.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporter_polypeptide_synonyms.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporter_polypeptide_synonyms.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_actions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_actions.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_articles.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_articles.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_links.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_links.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_polypeptide_external_identifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_polypeptide_external_identifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_polypeptides.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_polypeptides.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_polypeptides_go_classifiers.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_polypeptides_go_classifiers.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_polypeptides_pfams.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_polypeptides_pfams.csv
--------------------------------------------------------------------------------
/docs/reference/drug_transporters_textbooks.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/drug_transporters_textbooks.csv
--------------------------------------------------------------------------------
/docs/reference/figures/README-pressure-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/README-pressure-1.png
--------------------------------------------------------------------------------
/docs/reference/figures/README-unnamed-chunk-2-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/README-unnamed-chunk-2-1.png
--------------------------------------------------------------------------------
/docs/reference/figures/README-unnamed-chunk-3-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/README-unnamed-chunk-3-1.png
--------------------------------------------------------------------------------
/docs/reference/figures/README-unnamed-chunk-4-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/README-unnamed-chunk-4-1.png
--------------------------------------------------------------------------------
/docs/reference/figures/fig1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/fig1.png
--------------------------------------------------------------------------------
/docs/reference/figures/fig2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/fig2.png
--------------------------------------------------------------------------------
/docs/reference/figures/fig3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/fig3.png
--------------------------------------------------------------------------------
/docs/reference/figures/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/figures/logo.png
--------------------------------------------------------------------------------
/docs/reference/snp_adverse_reactions.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/docs/reference/snp_adverse_reactions.csv
--------------------------------------------------------------------------------
/inst/CITATION:
--------------------------------------------------------------------------------
1 | citHeader("To cite dbparser in publications use:")
2 |
3 | year <- sub("-.*", "", meta$Date)
4 | note <- sprintf("R package version %s", meta$Version)
5 |
6 | bibentry(
7 | bibtype = "manual",
8 | title = "DrugBank Database XML Parser",
9 | author = c(person("Mohammed", "Ali"),
10 | person("Ali", "Ezzat")),
11 | organization = "Interstellar for Consultinc inc.",
12 | year = year,
13 | note = note,
14 | url = "https://CRAN.R-project.org/package=dbparser",
15 | textVersion = paste0("Mohammed Ali, Ali Ezzat (", year,").
16 | dbparser: DrugBank Database XML Parser. ", note, ".")
17 | )
18 |
--------------------------------------------------------------------------------
/inst/drug_groups.RDS:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/inst/drug_groups.RDS
--------------------------------------------------------------------------------
/inst/drugs.RDS:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/inst/drugs.RDS
--------------------------------------------------------------------------------
/inst/extdata/drugbank_record.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/inst/extdata/drugbank_record.zip
--------------------------------------------------------------------------------
/inst/targets_actions.RDS:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/inst/targets_actions.RDS
--------------------------------------------------------------------------------
/man/add_drugbank_info.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/dvobject_metadata.R
3 | \name{add_drugbank_info}
4 | \alias{add_drugbank_info}
5 | \title{add_drugbank_info
6 | Add passed DrugBank db metadata to passed dvobject}
7 | \usage{
8 | add_drugbank_info(dvobject)
9 | }
10 | \value{
11 | dvobject
12 | }
13 | \description{
14 | add_drugbank_info
15 | Add passed DrugBank db metadata to passed dvobject
16 | }
17 | \keyword{internal}
18 |
--------------------------------------------------------------------------------
/man/articles.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/references_parsers.R
3 | \name{articles}
4 | \alias{articles}
5 | \alias{drugs_articles}
6 | \alias{carriers_articles}
7 | \alias{enzymes_articles}
8 | \alias{targets_articles}
9 | \alias{transporters_articles}
10 | \title{Drugs/ Carriers/ Enzymes/ Targets/ Transporters articles element parser}
11 | \usage{
12 | drugs_articles()
13 |
14 | carriers_articles()
15 |
16 | enzymes_articles()
17 |
18 | targets_articles()
19 |
20 | transporters_articles()
21 | }
22 | \value{
23 | a tibble with 4 variables:
24 | \describe{
25 | \item{ref-id}{Identifier for the article being referenced.
26 | This is unique across all reference types (books, links, article,
27 | attachments).}
28 | \item{pubmed-id}{The PubMed identifier for the article.}
29 | \item{citation}{Article citation in a standard format.}
30 | \item{\emph{parent_id}}{drug/carrier/target/enzyme/transporter id}
31 | }
32 | }
33 | \description{
34 | Return a list of articles that were used as references for drugs carriers
35 | }
36 | \keyword{internal}
37 |
--------------------------------------------------------------------------------
/man/attachments.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/references_parsers.R
3 | \name{attachments}
4 | \alias{attachments}
5 | \alias{drugs_attachments}
6 | \alias{carriers_attachments}
7 | \alias{enzymes_attachments}
8 | \alias{targets_attachments}
9 | \alias{transporters_attachments}
10 | \title{Drugs/ Carriers/ Enzymes/ Targets/ Transporters attachments element parser}
11 | \usage{
12 | drugs_attachments()
13 |
14 | carriers_attachments()
15 |
16 | enzymes_attachments()
17 |
18 | targets_attachments()
19 |
20 | transporters_attachments()
21 | }
22 | \value{
23 | a tibble with 4 variables:
24 | \describe{
25 | \item{ref-id}{Identifier for the article being referenced.
26 | This is unique across all reference types (books, links, article,
27 | attachments).}
28 | \item{title}{The title of the attachment.}
29 | \item{url}{The url to download the attachment from.}
30 | \item{\emph{parent_id}}{drug/carrier/target/enzyme/transporter id}
31 | }
32 | }
33 | \description{
34 | Return a list of attachment that were used as references for drugs carriers
35 | }
36 | \keyword{internal}
37 |
--------------------------------------------------------------------------------
/man/books.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/references_parsers.R
3 | \name{books}
4 | \alias{books}
5 | \alias{drugs_textbooks}
6 | \alias{carriers_textbooks}
7 | \alias{enzymes_textbooks}
8 | \alias{targets_textbooks}
9 | \alias{transporters_textbooks}
10 | \title{Drugs/ Carriers/ Enzymes/ Targets/ Transporters books element parser}
11 | \usage{
12 | drugs_textbooks()
13 |
14 | carriers_textbooks()
15 |
16 | enzymes_textbooks()
17 |
18 | targets_textbooks()
19 |
20 | transporters_textbooks()
21 | }
22 | \value{
23 | a tibble with 4 variables:
24 | \describe{
25 | \item{ref-id}{Identifier for the article being referenced.
26 | This is unique across all reference types (books, links, article,
27 | attachments).}
28 | \item{isbn}{ISBN identifying the textbook.}
29 | \item{citation}{A Textbook citation in a standard format.}
30 | \item{\emph{parent_id}}{drug/ carrier/ target/ enzyme/ transporter id}
31 | }
32 | }
33 | \description{
34 | Return a list of text books that were used as references for drugs, carriers,
35 | enzymes, targets or transporters
36 | }
37 | \keyword{internal}
38 |
--------------------------------------------------------------------------------
/man/cett_actions_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_actions_parsers.R
3 | \name{cett_actions_doc}
4 | \alias{cett_actions_doc}
5 | \alias{carriers_actions}
6 | \alias{enzymes_actions}
7 | \alias{targets_actions}
8 | \alias{transporters_actions}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters Actions parsers}
10 | \usage{
11 | carriers_actions()
12 |
13 | enzymes_actions()
14 |
15 | targets_actions()
16 |
17 | transporters_actions()
18 | }
19 | \value{
20 | a tibble with 2 variables:
21 | \describe{
22 | \item{action}{describe related action}
23 | \item{\emph{parent_id}}{carrier/ target/ enzyme/ transporter id}
24 | }
25 | }
26 | \description{
27 | Collection of related actions
28 | }
29 | \keyword{internal}
30 |
--------------------------------------------------------------------------------
/man/cett_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_general_information_parsers.R
3 | \name{cett_doc}
4 | \alias{cett_doc}
5 | \alias{carriers}
6 | \alias{enzymes}
7 | \alias{targets}
8 | \alias{transporters}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters parsers}
10 | \usage{
11 | carriers()
12 |
13 | enzymes()
14 |
15 | targets()
16 |
17 | transporters()
18 | }
19 | \value{
20 | a tibble with 6 variables (8 for enzymes):
21 | \describe{
22 | \item{id}{Universal Protein Resource (UniProt) Identifier for the record}
23 | \item{name}{related name}
24 | \item{organism}{Organism that the protein comes from.}
25 | \item{known_action}{Whether the pharmacological action of the drug is due
26 | to this target interaction.}
27 | \item{inhibition-strength}{Whether the strength of enzyme inhibition is
28 | strong, moderate, or unknown. \strong{Only applies to enzymes}}
29 | \item{induction-strength}{Whether the strength of enzyme induction is
30 | strong or unknown. \strong{Only applies to enzymes}}
31 | \item{position}{related position}
32 | \item{parent_id}{drugbank id}
33 | }
34 | }
35 | \description{
36 | Protein targets of drug action, enzymes that are inhibited/induced or
37 | involved in metabolism, and carrier or transporter proteins involved in
38 | movement of the drug across biological membranes.
39 | }
40 | \keyword{internal}
41 |
--------------------------------------------------------------------------------
/man/cett_ex_identity_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_polypeptide_others_parsers.R
3 | \name{cett_ex_identity_doc}
4 | \alias{cett_ex_identity_doc}
5 | \alias{carriers_polypep_ex_ident}
6 | \alias{enzymes_polypep_ex_ident}
7 | \alias{targets_polypep_ex_ident}
8 | \alias{transporters_polypep_ex_ident}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters Polypeptide External Identifiers
10 | parsers}
11 | \usage{
12 | carriers_polypep_ex_ident()
13 |
14 | enzymes_polypep_ex_ident()
15 |
16 | targets_polypep_ex_ident()
17 |
18 | transporters_polypep_ex_ident()
19 | }
20 | \value{
21 | a tibble with 3 variables:
22 | \describe{
23 | \item{resource}{Name of the source database.}
24 | \item{identifier}{Identifier for this drug in the given resource.}
25 | \item{parent_key}{polypeptide id}
26 | }
27 | }
28 | \description{
29 | Extract descriptions of identified polypeptide external identifiers for
30 | targets, enzymes, carriers, or transporters.
31 | }
32 | \keyword{internal}
33 |
--------------------------------------------------------------------------------
/man/cett_go_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_polypeptide_others_parsers.R
3 | \name{cett_go_doc}
4 | \alias{cett_go_doc}
5 | \alias{carriers_polypeptides_go}
6 | \alias{enzymes_polypeptides_go}
7 | \alias{targets_polypeptides_go}
8 | \alias{transporters_polypeptides_go}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters Polypeptide GO Classifier
10 | parsers}
11 | \usage{
12 | carriers_polypeptides_go()
13 |
14 | enzymes_polypeptides_go()
15 |
16 | targets_polypeptides_go()
17 |
18 | transporters_polypeptides_go()
19 | }
20 | \value{
21 | a tibble with 3 variables:
22 | \describe{
23 | \item{category}{}
24 | \item{description}{}
25 | \item{parent_key}{polypeptide id}
26 | }
27 | }
28 | \description{
29 | Extract descriptions of identified polypeptide go classifier for targets,
30 | enzymes, carriers, or transporters.
31 | }
32 | \keyword{internal}
33 |
--------------------------------------------------------------------------------
/man/cett_nodes_options.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{cett_nodes_options}
4 | \alias{cett_nodes_options}
5 | \title{returns carriers, enzymes,targets and transporters node valid options.}
6 | \usage{
7 | cett_nodes_options()
8 | }
9 | \value{
10 | list of CETT valid options
11 | }
12 | \description{
13 | returns carriers, enzymes,targets and transporters node valid options.
14 | }
15 | \seealso{
16 | Other parsers:
17 | \code{\link{drug_node_options}()},
18 | \code{\link{parseDrugBank}()},
19 | \code{\link{references_node_options}()}
20 | }
21 | \concept{parsers}
22 |
--------------------------------------------------------------------------------
/man/cett_poly_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_polypeptide_general_infromation_parsers.R
3 | \name{cett_poly_doc}
4 | \alias{cett_poly_doc}
5 | \alias{carriers_polypeptides}
6 | \alias{enzymes_polypeptides}
7 | \alias{targets_polypeptides}
8 | \alias{transporters_polypeptides}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters Polypeptide parsers}
10 | \usage{
11 | carriers_polypeptides()
12 |
13 | enzymes_polypeptides()
14 |
15 | targets_polypeptides()
16 |
17 | transporters_polypeptides()
18 | }
19 | \value{
20 | a tibble with 20 variables:
21 | \describe{
22 | \item{id}{\href{https://www.uniprot.org/}{Universal Protein Resource
23 | (UniProt) identifier}}
24 | \item{source}{Specifies whether the identified polypeptide ID is
25 | associated with any of the following UniProt knowledge bases:
26 | Swiss-Prot, which is manually annotated and reviewed, or TrEMBL,
27 | which is automatically annotated and not reviewed.}
28 | \item{name}{}
29 | \item{general_function}{General summary of the physiological function of
30 | the polypeptide}
31 | \item{specific_function}{A more specific description of the polypeptide’s
32 | physiological function within the cell.}
33 | \item{gene_name}{The short name commonly associated with the associated
34 | gene. Eg. PTGS1.}
35 | \item{locus}{The specific chromosomal location or position of the gene’s
36 | sequence on a chromosome.}
37 | \item{cellular_location}{The cellular location of the polypeptide.}
38 | \item{transmembrane_regions}{Areas of the polypeptide sequence that span
39 | a biological membrane.}
40 | \item{signal_regions}{Location of any signal peptides within the
41 | polypeptide sequence.}
42 | \item{theoretical_pi}{Theoretical isoelectric point.}
43 | \item{molecular_weight}{The molecular weight of the polypeptide.}
44 | \item{chromosome_location}{The chromosomal location of the polypeptide
45 | gene}
46 | \item{organism}{The organism in which this polypeptide functions.}
47 | \item{organism_ncbi_taxonomy_id}{}
48 | \item{amino_acid_sequence}{The amino acid sequence of the polypeptide}
49 | \item{amino_acid_format}{}
50 | \item{gene_sequence}{The sequence of the associated gene.}
51 | \item{gene_format}{}
52 | \item{parent_key}{carrier/ target/ enzyme/ transporter id}
53 | }
54 | }
55 | \description{
56 | Extract descriptions of identified polypeptide targets, enzymes, carriers,
57 | or transporters.
58 | }
59 | \keyword{internal}
60 |
--------------------------------------------------------------------------------
/man/cett_poly_pfms_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_polypeptide_others_parsers.R
3 | \name{cett_poly_pfms_doc}
4 | \alias{cett_poly_pfms_doc}
5 | \alias{carriers_polypeptides_pfams}
6 | \alias{enzymes_polypeptides_pfams}
7 | \alias{targets_polypeptides_pfams}
8 | \alias{transporters_polypeptides_pfams}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters Polypeptide PFAMS parsers}
10 | \usage{
11 | carriers_polypeptides_pfams()
12 |
13 | enzymes_polypeptides_pfams()
14 |
15 | targets_polypeptides_pfams()
16 |
17 | transporters_polypeptides_pfams()
18 | }
19 | \value{
20 | a tibble with 3 variables:
21 | \describe{
22 | \item{name}{The sequence of the associated gene.}
23 | \item{identifier}{}
24 | \item{parent_key}{polypeptide id}
25 | }
26 | }
27 | \description{
28 | Extract descriptions of identified polypeptide PFAMS targets, enzymes,
29 | carriers, or transporters.
30 | }
31 | \keyword{internal}
32 |
--------------------------------------------------------------------------------
/man/cett_poly_syn_doc.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/cett_polypeptide_others_parsers.R
3 | \name{cett_poly_syn_doc}
4 | \alias{cett_poly_syn_doc}
5 | \alias{carriers_polypeptides_syn}
6 | \alias{enzymes_polypeptides_syn}
7 | \alias{targets_polypeptides_syn}
8 | \alias{transporters_polypeptides_syn}
9 | \title{Carriers/ Enzymes/ Targets/ Transporters Polypeptide Synonyms parsers}
10 | \usage{
11 | carriers_polypeptides_syn()
12 |
13 | enzymes_polypeptides_syn()
14 |
15 | targets_polypeptides_syn()
16 |
17 | transporters_polypeptides_syn()
18 | }
19 | \value{
20 | a tibble with 2 variables:
21 | \describe{
22 | \item{synonym}{}
23 | \item{parent_key}{polypeptide id}
24 | }
25 | }
26 | \description{
27 | Extract descriptions of identified polypeptide synonyms for targets,
28 | enzymes, carriers, or transporters.
29 | }
30 | \keyword{internal}
31 |
--------------------------------------------------------------------------------
/man/dbparser.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/dbparser-package.R
3 | \docType{package}
4 | \name{dbparser}
5 | \alias{dbparser}
6 | \alias{dbparser-package}
7 | \title{dbparser: A package for reading and parsing \strong{DrugBank} xml database.}
8 | \description{
9 | The main purpose of the `dbparser` package is to parse
10 | [DrugBank](https://go.drugbank.com/) database which is downloadable in XML format
11 | from [this link](https://go.drugbank.com/releases/latest).
12 | }
13 | \details{
14 | The parsed data can then be explored and analyzed.
15 |
16 |
17 | To achieve this purpose, `dbparser`` package provides three main categories
18 | of functions:
19 |
20 | - xml db reader,
21 |
22 | - \strong{DrugBank} elements parsers,
23 |
24 | For more information kindly check the
25 | reference/index (https://docs.ropensci.org/dbparser/reference/index.html)
26 | }
27 | \section{xml db reader functions}{
28 |
29 | Reads \strong{DrugBank} xml database and build drug elements full tree in
30 | memory
31 | }
32 |
33 | \section{parsers functions}{
34 |
35 | Each parser function is responsible of parsing certain drug element and
36 | returning its tibble.
37 |
38 | Check this tutorial
39 | (https://docs.ropensci.org/dbparser/articles/dbparser.html)
40 | }
41 |
42 | \seealso{
43 | Useful links:
44 | \itemize{
45 | \item \url{https://docs.ropensci.org/dbparser/}
46 | \item \url{https://github.com/ropensci/dbparser}
47 | \item Report bugs at \url{https://github.com/ropensci/dbparser/issues}
48 | }
49 |
50 | }
51 | \author{
52 | \strong{Maintainer}: Mohammed Ali \email{moh_fcis@yahoo.com}
53 |
54 | Authors:
55 | \itemize{
56 | \item Ali Ezzat \email{ali_ezzat85@yahoo.com}
57 | }
58 |
59 | Other contributors:
60 | \itemize{
61 | \item Hao Zhu \email{haozhu233@gmail.com} [reviewer]
62 | \item Emma Mendelsohn [reviewer]
63 | }
64 |
65 | }
66 | \keyword{internal}
67 |
--------------------------------------------------------------------------------
/man/drug_affected_organisms.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_affected_organisms}
4 | \alias{drug_affected_organisms}
5 | \title{Drug Affected Organism parser}
6 | \usage{
7 | drug_affected_organisms()
8 | }
9 | \value{
10 | a tibble with 2 variables:
11 | \describe{
12 | \item{affected-organism}{affected-organism name}
13 | \item{\emph{drugbank_id}}{drugbank id}
14 | }
15 | }
16 | \description{
17 | Organisms in which the drug may display activity; activity may depend on
18 | local susceptibility patterns and resistance.
19 | }
20 | \keyword{internal}
21 |
--------------------------------------------------------------------------------
/man/drug_ahfs_codes.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_ahfs_codes}
4 | \alias{drug_ahfs_codes}
5 | \title{Drug ahfs-codes parser}
6 | \usage{
7 | drug_ahfs_codes()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{ahfs-code}{}
13 | \item{\emph{drugbank_id}}{drugbank id}
14 | }
15 | }
16 | \description{
17 | The American Hospital Formulary Service (AHFS) identifier for this drug.
18 | }
19 | \keyword{internal}
20 |
--------------------------------------------------------------------------------
/man/drug_atc_codes.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_atc_codes_node_parser.R
3 | \name{drug_atc_codes}
4 | \alias{drug_atc_codes}
5 | \title{Drug ATC Codes element parser}
6 | \usage{
7 | drug_atc_codes()
8 | }
9 | \value{
10 | a tibble with 10 variables
11 | }
12 | \description{
13 | The Anatomical Therapeutic Classification (ATC) code for the drug assigned
14 | by the World Health Organization Anatomical Chemical Classification System.
15 | }
16 | \details{
17 | Each `atc-code`` row has one or more level. The atc-code and level>
18 | have a code the code assigned by the World Health Organization Anatomical
19 | Therapeutic Chemical Classification system.
20 | }
21 | \keyword{internal}
22 |
--------------------------------------------------------------------------------
/man/drug_calc_prop.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_calc_prop}
4 | \alias{drug_calc_prop}
5 | \title{Drug Calculated Properties parser}
6 | \usage{
7 | drug_calc_prop()
8 | }
9 | \value{
10 | a tibble with 4 variables:
11 | \describe{
12 | \item{kind}{Name of the property.}
13 | \item{value}{Predicted physicochemical properties; obtained by the use of
14 | prediction software such as ALGOPS and ChemAxon.}
15 | \item{source}{Name of the software used to calculate this property,
16 | either ChemAxon or ALOGPS.}
17 | \item{\emph{drugbank_id}}{drugbank id}
18 | }
19 | }
20 | \description{
21 | Drug properties that have been predicted by ChemAxon or ALOGPS based on the
22 | imputed chemical structure. Associated links below will redirect to
23 | descriptions of the specific term.
24 | }
25 | \keyword{internal}
26 |
--------------------------------------------------------------------------------
/man/drug_categories.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_categories}
4 | \alias{drug_categories}
5 | \title{Drug Categories parser}
6 | \usage{
7 | drug_categories()
8 | }
9 | \value{
10 | a tibble with 2 variables:
11 | \describe{
12 | \item{category}{category name}
13 | \item{mesh-id}{The Medical Subjects Headings (MeSH) identifier for the
14 | category.}
15 | \item{\emph{drugbank_id}}{drugbank id}
16 | }
17 | }
18 | \description{
19 | General categorizations of the drug.
20 | }
21 | \keyword{internal}
22 |
--------------------------------------------------------------------------------
/man/drug_classification.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_classfication_node_parser.R
3 | \name{drug_classification}
4 | \alias{drug_classification}
5 | \title{Drug Classification parser}
6 | \usage{
7 | drug_classification()
8 | }
9 | \value{
10 | a tibble with 9 variables:
11 | \describe{
12 | \item{description}{}
13 | \item{direct-parent}{}
14 | \item{kingdom}{}
15 | \item{superclass}{}
16 | \item{class}{}
17 | \item{subclass}{}
18 | \item{alternative-parent}{One or more alternative parents}
19 | \item{substituent}{One or more substituents}
20 | \item{\emph{drugbank_id}}{drugbank id}
21 | }
22 | }
23 | \description{
24 | A description of the hierarchical chemical classification of the drug;
25 | imported from ClassyFire.
26 | }
27 | \keyword{internal}
28 |
--------------------------------------------------------------------------------
/man/drug_dosages.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_dosages}
4 | \alias{drug_dosages}
5 | \title{Drug Dosages parser}
6 | \usage{
7 | drug_dosages()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{form}{The pharmaceutical formulation by which the drug is introduced
13 | into the body}
14 | \item{route}{The path by which the drug or product is taken into the body.}
15 | \item{strength}{The amount of active drug ingredient provided in the dosage}
16 | \item{\emph{drugbank_id}}{drugbank id}
17 | }
18 | }
19 | \description{
20 | A list of the commercially available dosages of the drug.
21 | }
22 | \keyword{internal}
23 |
--------------------------------------------------------------------------------
/man/drug_ex_identity.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_ex_identity}
4 | \alias{drug_ex_identity}
5 | \title{Drug External Identifiers parser}
6 | \usage{
7 | drug_ex_identity()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{resource}{Name of the source database.}
13 | \item{identifier}{Identifier for this drug in the given resource.}
14 | \item{\emph{drugbank_id}}{drugbank id}
15 | }
16 | }
17 | \description{
18 | Identifiers used in other websites or databases providing information about
19 | this drug.
20 | }
21 | \keyword{internal}
22 |
--------------------------------------------------------------------------------
/man/drug_exp_prop.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_exp_prop}
4 | \alias{drug_exp_prop}
5 | \title{Drug Experimental Properties parser}
6 | \usage{
7 | drug_exp_prop()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{kind}{Name of the property.}
13 | \item{value}{Drug properties that have been experimentally proven.}
14 | \item{source}{Reference to the source of this experimental data.}
15 | \item{\emph{drugbank_id}}{drugbank id}
16 | }
17 |
18 | The following experimental properties are provided:
19 | \describe{
20 | \item{Water Solubility}{The experimentally determined aqueous solubility
21 | of the molecule.}
22 | \item{Molecular Formula}{Protein formula of Biotech drugs}
23 | \item{Molecular Weight}{Protein weight of Biotech drugs.}
24 | \item{Melting Point}{The experimentally determined temperature at which the
25 | drug molecule changes from solid to liquid at atmospheric temperature.}
26 | \item{Boiling Point}{The experimentally determined temperature at which the
27 | drug molecule changes from liquid to gas at atmospheric temperature.}
28 | \item{Hydrophobicity}{The ability of a molecule to repel water rather than
29 | absorb or dissolve water.}
30 | \item{Isoelectric Point}{The pH value at which the net electric charge of a
31 | molecule is zero.}
32 | \item{caco2 Permeability}{A continuous line of heterogenous human epithelial
33 | colorectal adenocarcinoma cells, CAC02 cells are employed as a model of
34 | human intestinal absorption of various drugs and compounds. CAC02 cell
35 | permeability is ultimately an assay to measure drug absorption.}
36 | \item{pKa}{The experimentally determined pka value of the molecule}
37 | \item{logP}{The experimentally determined partition coefficient (LogP)
38 | based on the ratio of solubility of the molecule in 1-octanol compared to
39 | water.}
40 | \item{logS}{The intrinsic solubility of a given compound is the
41 | concentration in equilibrium with its solid phase that dissolves into
42 | solution, given as the natural logarithm (LogS) of the concentration.}
43 | \item{Radioactivity}{The property to spontaneously emit particles
44 | (alpha, beta, neutron) or radiation (gamma, K capture), or both at the same
45 | time, from the decay of certain nuclides.}
46 | }
47 | }
48 | \description{
49 | Drug properties that have been experimentally proven
50 | }
51 | \keyword{internal}
52 |
--------------------------------------------------------------------------------
/man/drug_external_links.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_external_links}
4 | \alias{drug_external_links}
5 | \title{Drug External Links parser}
6 | \usage{
7 | drug_external_links()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{resource}{Name of the source website.}
13 | \item{identifier}{Identifier for this drug in the given resource}
14 | \item{\emph{drugbank_id}}{drugbank id}
15 | }
16 | }
17 | \description{
18 | Links to other websites or databases providing information about this drug.
19 | }
20 | \keyword{internal}
21 |
--------------------------------------------------------------------------------
/man/drug_food_interactions.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_food_interactions}
4 | \alias{drug_food_interactions}
5 | \title{Drug Groups parser}
6 | \usage{
7 | drug_food_interactions()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{food-interaction}{}
13 | \item{\emph{drugbank_id}}{drugbank id}
14 | }
15 | }
16 | \description{
17 | Food that may interact with this drug.
18 | }
19 | \keyword{internal}
20 |
--------------------------------------------------------------------------------
/man/drug_general_information.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_main_node_parser.R
3 | \name{drug_general_information}
4 | \alias{drug_general_information}
5 | \title{Drugs General Information parser}
6 | \usage{
7 | drug_general_information()
8 | }
9 | \value{
10 | a tibble with 15 variables:
11 | \describe{
12 | \item{primary_key}{DrugBank id}
13 | \item{other_keys}{Other identifiers that may be associated with the drug}
14 | \item{type}{ Either small molecule, or biotech. Biotech is used for any
15 | drug that is derived from living systems or organisms, usually composed of
16 | high molecular weight mixtures of protein, while small molecule describes
17 | a low molecular weight organic compound.}
18 | \item{name}{}
19 | \item{created}{Date that this drug was first added to DrugBank.}
20 | \item{updated}{Denotes when this drug was last updated in DrugBank.}
21 | \item{description}{Descriptions of drug chemical properties,
22 | history and regulatory status.}
23 | \item{cas_number}{The Chemical Abstracts Service (CAS) registry number
24 | assigned to the drug.}
25 | \item{\emph{unii}}{Unique Ingredient Identifier (UNII) of this drug.}
26 | \item{average_mass}{The weighted average of the isotopic masses of the
27 | drug}
28 | \item{state}{One of solid, liquid, or gas}
29 | \item{monoisotopic_mass}{The mass of the most abundant isotope of the drug}
30 | \item{synthesis_reference}{Citation for synthesis of the drug molecule.}
31 | \item{fda_label}{Contains a URL for accessing the uploaded United States Food
32 | and Drug Administration (FDA) Monograph for this drug.}
33 | \item{msds}{Contains a URL for accessing the Material Safety Data Sheet
34 | (MSDS) for this drug.}
35 | }
36 | }
37 | \description{
38 | A description of the hierarchical chemical classification of the drug;
39 | imported from ClassyFire.
40 | }
41 | \keyword{internal}
42 |
--------------------------------------------------------------------------------
/man/drug_groups.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_groups}
4 | \alias{drug_groups}
5 | \title{Drug Groups parser}
6 | \usage{
7 | drug_groups()
8 | }
9 | \value{
10 | a tibble with 2 variables:
11 | \describe{
12 | \item{group}{}
13 | \item{\emph{drugbank_id}}{drugbank id}
14 | }
15 | }
16 | \description{
17 | Groups that this drug belongs to. May include any of: approved, vet_approved,
18 | nutraceutical, illicit, withdrawn, investigational, and experimental.
19 | }
20 | \keyword{internal}
21 |
--------------------------------------------------------------------------------
/man/drug_interactions.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_interactions}
4 | \alias{drug_interactions}
5 | \title{Drug Interactions parser}
6 | \usage{
7 | drug_interactions()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{drugbank-id }{DrugBank ID of the interacting drug.}
13 | \item{name}{Name of the interacting drug.}
14 | \item{description}{Textual description of the physiological consequences
15 | of the drug interaction}
16 | \item{\emph{drugbank_id}}{parent drugbank id}
17 | }
18 | }
19 | \description{
20 | Drug-drug interactions detailing drugs that, when administered concomitantly
21 | with the drug of interest, will affect its activity or result in adverse
22 | effects. These interactions may be synergistic or antagonistic depending on
23 | the physiological effects and mechanism of action of each drug.
24 | }
25 | \keyword{internal}
26 |
--------------------------------------------------------------------------------
/man/drug_intern_brand.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_intern_brand}
4 | \alias{drug_intern_brand}
5 | \title{Drug International Brands parser}
6 | \usage{
7 | drug_intern_brand()
8 | }
9 | \value{
10 | a tibble with 4 variables:
11 | \describe{
12 | \item{brand}{The proprietary, well-known name for given to this drug by a
13 | manufacturer.}
14 | \item{company}{The company or manufacturer that uses this name.}
15 | \item{\emph{drugbank_id}}{drugbank id}
16 | }
17 | }
18 | \description{
19 | The proprietary names used by the manufacturers for commercially available
20 | forms of the drug, focusing on brand names for products that are available
21 | in countries other than Canada and the Unites States.
22 | }
23 | \keyword{internal}
24 |
--------------------------------------------------------------------------------
/man/drug_manufacturers.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_manufacturer_node_parser.R
3 | \name{drug_manufacturers}
4 | \alias{drug_manufacturers}
5 | \title{Drug Manufacturers parser}
6 | \usage{
7 | drug_manufacturers()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{generic}{A list of companies that are manufacturing the generic
13 | form of the drug.}
14 | \item{url}{A link to the companies that are manufacturing the drug.}
15 | \item{\emph{drugbank_id}}{drugbank id}
16 | }
17 | }
18 | \description{
19 | A list of companies that are manufacturing the commercially available forms
20 | of this drug that are available in Canada and the Unites States.
21 | }
22 | \keyword{internal}
23 |
--------------------------------------------------------------------------------
/man/drug_mixtures.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_mixtures}
4 | \alias{drug_mixtures}
5 | \title{Drug Mixtures parser}
6 | \usage{
7 | drug_mixtures()
8 | }
9 | \value{
10 | a tibble with 4 variables:
11 | \describe{
12 | \item{name}{The proprietary name provided by the manufacturer for this
13 | combination product.}
14 | \item{ingredients}{A list of ingredients, separated by addition symbols}
15 | \item{supplemental-ingredients}{List of additional active ingredients which
16 | are not clinically relevant to the main indication of the product,
17 | separated by addition symbols.}
18 | \item{\emph{drugbank_id}}{drugbank id}
19 | }
20 | }
21 | \description{
22 | All commercially available products in which this drug is available in
23 | combination with other drug molecules
24 | }
25 | \keyword{internal}
26 |
--------------------------------------------------------------------------------
/man/drug_node_options.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{drug_node_options}
4 | \alias{drug_node_options}
5 | \title{returns drug node valid options.}
6 | \usage{
7 | drug_node_options()
8 | }
9 | \value{
10 | list of drug valid options
11 | }
12 | \description{
13 | returns drug node valid options.
14 | }
15 | \seealso{
16 | Other parsers:
17 | \code{\link{cett_nodes_options}()},
18 | \code{\link{parseDrugBank}()},
19 | \code{\link{references_node_options}()}
20 | }
21 | \concept{parsers}
22 |
--------------------------------------------------------------------------------
/man/drug_packagers.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_packagers}
4 | \alias{drug_packagers}
5 | \title{Drug Packagers parser}
6 | \usage{
7 | drug_packagers()
8 | }
9 | \value{
10 | a tibble with 2 variables:
11 | \describe{
12 | \item{name}{}
13 | \item{url}{A link to any companies that are packaging the drug for
14 | re-distribution.}
15 | \item{\emph{drugbank_id}}{drugbank id}
16 | }
17 | }
18 | \description{
19 | A list of companies that are packaging the drug for re-distribution.
20 | }
21 | \keyword{internal}
22 |
--------------------------------------------------------------------------------
/man/drug_patents.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_patents}
4 | \alias{drug_patents}
5 | \title{Drug Patents parser
6 | A property right issued by the United States Patent and Trademark
7 | Office (USPTO) to an inventor for a limited time, in exchange for public
8 | disclosure of the invention when the patent is granted. Drugs may be issued
9 | multiple patents.}
10 | \usage{
11 | drug_patents()
12 | }
13 | \value{
14 | a tibble with the following variables:
15 | \describe{
16 | \item{number}{The patent number(s) associated with the drug.}
17 | \item{country}{The country that issued the patent rights.}
18 | \item{approved}{The date that the patent request was filed.}
19 | \item{expires}{The date that the patent rights expire.}
20 | \item{pediatric-extension}{Indicates whether or not a pediatric extension has been approved for
21 | the patent. Granted pediatric extensions provide an additional 6 months of
22 | market protection.}
23 | \item{\emph{drugbank_id}}{drugbank id}
24 | }
25 | }
26 | \description{
27 | Drug Patents parser
28 | A property right issued by the United States Patent and Trademark
29 | Office (USPTO) to an inventor for a limited time, in exchange for public
30 | disclosure of the invention when the patent is granted. Drugs may be issued
31 | multiple patents.
32 | }
33 | \keyword{internal}
34 |
--------------------------------------------------------------------------------
/man/drug_pathway.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_pathway_node_parsers.R
3 | \name{drug_pathway}
4 | \alias{drug_pathway}
5 | \title{Drug Pathway parser}
6 | \usage{
7 | drug_pathway()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{smpdb-id}{Small Molecule Pathway Database identifier for this
13 | pathway.}
14 | \item{name}{Pathway name}
15 | \item{category}{Pathway category}
16 | \item{\emph{drugbank_id}}{drugbank id}
17 | }
18 | }
19 | \description{
20 | Metabolic, disease, and biological pathways that the drug is involved in, as
21 | identified by the Small Molecule Protein Database (SMPDB).
22 | }
23 | \keyword{internal}
24 |
--------------------------------------------------------------------------------
/man/drug_pathway_drugs.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_pathway_node_parsers.R
3 | \name{drug_pathway_drugs}
4 | \alias{drug_pathway_drugs}
5 | \title{Drug Pathway Drugs parser}
6 | \usage{
7 | drug_pathway_drugs()
8 | }
9 | \value{
10 | a tibble with pathway drugs properties
11 | }
12 | \description{
13 | Drugs involved in this pathway.
14 | }
15 | \keyword{internal}
16 |
--------------------------------------------------------------------------------
/man/drug_pathway_enzyme.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_pathway_node_parsers.R
3 | \name{drug_pathway_enzyme}
4 | \alias{drug_pathway_enzyme}
5 | \title{Drug Pathway Enzymes parser}
6 | \usage{
7 | drug_pathway_enzyme()
8 | }
9 | \value{
10 | a tibble with pathway properties
11 | }
12 | \description{
13 | Enzymes involved in this pathway.
14 | }
15 | \keyword{internal}
16 |
--------------------------------------------------------------------------------
/man/drug_pdb_entries.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_pdb_entries}
4 | \alias{drug_pdb_entries}
5 | \title{Drug pdb-entries parser}
6 | \usage{
7 | drug_pdb_entries()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{pdb-entry}{}
13 | \item{\emph{drugbank_id}}{drugbank id}
14 | }
15 | }
16 | \description{
17 | Protein Data Bank (PDB) identifiers for this drug.
18 | }
19 | \keyword{internal}
20 |
--------------------------------------------------------------------------------
/man/drug_pharmacology.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_pharmacology_parser.R
3 | \name{drug_pharmacology}
4 | \alias{drug_pharmacology}
5 | \title{Drug Pharmacology parser}
6 | \usage{
7 | drug_pharmacology()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{indication}{The approved conditions, diseases, or states for which a
13 | drug can safely and effectively be used. An indication is considered to be
14 | FDA-approved when it has any of the following designations: NDA, ANDA, BLA,
15 | or OTC. May also include indications in other countries, such as Canada
16 | (through Health Canada) or in Europe
17 | (through the European Medicines Agency).}
18 | \item{pharmacodynamics}{A description of how the drug modifies or affects
19 | the organism it is being used in. May include effects in the body that are
20 | desired (enzyme or protein targets for example) and undesired
21 | (also known as “side effects”). This is in contrast to pharmacokinetics,
22 | which describes how the body modifies the drug being used.}
23 | \item{mechanism_of_action}{A component of pharmacodynamics that describes
24 | the biochemical interaction through which a drug produces its intended
25 | effect. May include the exact molecular protein or enzyme targets and/or
26 | a description of the physiological effects produced.}
27 | \item{toxicity}{Any adverse reaction, or side effect, that may or may not
28 | occur with use of the drug. May be attributed to a number of effects
29 | including: an enhanced therapeutic effect, rare anaphylactic reactions,
30 | interactions with other medications, or unanticipated binding of the
31 | molecule at different sites within the body.}
32 | \item{metabolism}{A description of the chemical degradation of the drug
33 | molecule within the body; most commonly by enzymes from the
34 | Cytochrome P450 (CYP) system in the liver.}
35 | \item{absorption}{A description of the movement of the drug from the site
36 | of administration into the bloodstream or target tissue. Common
37 | pharmacokinetic metrics used to evaluate absorption include Area Under
38 | the Curve (AUC), bioavailability (F), maximum concentration (Cmax), and
39 | time to maximum concentration (Tmax).}
40 | \item{half-life}{The period of time it takes for the amount of drug in the
41 | body to be reduced by one half. Provides a description of how quickly the
42 | drug is being eliminated and how much is available in the bloodstream.}
43 | \item{protein-binding }{A description of the drug’s affinity for plama
44 | proteins and the proportion of the drug that is bound to them when in
45 | circulation within the body.}
46 | \item{route_of_elimination}{A description of the pathway that is used to
47 | excrete the drug from the body. Common pharmacokinetic parameters used to
48 | evaluate excretion include elimination half life, renal clearance, and
49 | tracking of radiolabelled compounds through the renal and GI system.}
50 | \item{volume_of_distribution}{The Vd of a drug represents the degree to
51 | which it is distributed into body tissue compared to the plasma.}
52 | \item{clearance}{A pharmacokinetic measurement of the rate of removal of the
53 | drug from plasma, expressed as mL/min; reflects the rate of elimination of
54 | the drug.}
55 | \item{\emph{drugbank_id}}{drugbank id}
56 | }
57 | }
58 | \description{
59 | Describes the use, mechanism of action, pharmacokinetics, pharmacodynamics,
60 | and physiological or biochemical effects in the body.
61 | }
62 | \keyword{internal}
63 |
--------------------------------------------------------------------------------
/man/drug_prices.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_price_node_parser.R
3 | \name{drug_prices}
4 | \alias{drug_prices}
5 | \title{Drug Prices Parsers}
6 | \usage{
7 | drug_prices()
8 | }
9 | \value{
10 | a tibble with 5 variables:
11 | \describe{
12 | \item{description}{}
13 | \item{cost}{Drug price per unit}
14 | \item{currency}{Currency of price, example: US.}
15 | \item{unit}{}
16 | \item{parent_id}{drugbank id}
17 | }
18 | }
19 | \description{
20 | Unit drug prices
21 | }
22 | \keyword{internal}
23 |
--------------------------------------------------------------------------------
/man/drug_products.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_products}
4 | \alias{drug_products}
5 | \title{Drug Products parser}
6 | \usage{
7 | drug_products()
8 | }
9 | \value{
10 | a tibble with 32 variables:
11 | \describe{
12 | \item{name}{The proprietary name(s) provided by the manufacturer for any
13 | commercially available products containing this drug.}
14 | \item{labeller}{The corporation responsible for labelling this product.}
15 | \item{ndc-id}{The National Drug Code (NDC) identifier of the drug}
16 | \item{ndc-product-code}{The National Drug Code (NDC) product code from the
17 | FDA National Drug Code directory.}
18 | \item{dpd-id}{Drug Product Database (DPD) identification number (a.k.a. DIN)
19 | from the Canadian Drug Product Database. Only present for drugs that are
20 | marketed in Canada}
21 | \item{ema-product-code}{EMA product code from the European Medicines Agency
22 | Database. Only present for products that are authorized by central procedure
23 | for marketing in the European Union.}
24 | \item{ema-ma-number}{EMA marketing authorization number from the European
25 | Medicines Agency Database. Only present for products that are authorized by
26 | central procedure for marketing in the European Union.}
27 | \item{started-marketing-on}{The starting date for market approval.}
28 | \item{ended-marketing-on}{The ending date for market approval.}
29 | \item{dosage-form }{The pharmaceutical formulation by which the drug is
30 | introduced into the body.}
31 | \item{strength}{The amount of active drug ingredient provided in the dosage}
32 | \item{route}{The path by which the drug or product is taken into the body}
33 | \item{fda-application-number}{The New Drug Application [NDA] number
34 | assigned to this drug by the FDA.}
35 | \item{over-the-counter}{A list of Over The Counter (OTC) forms of the drug.}
36 | \item{generic}{Whether this product is a generic drug.}
37 | \item{approved}{Indicates whether this drug has been approved by the
38 | regulating government.}
39 | \item{country}{The country where this commercially available drug has been
40 | approved.}
41 | \item{source}{Source of this product information. For example, a value of
42 | DPD indicates this information was retrieved from the Canadian Drug Product
43 | Database.}
44 | \item{standing}{One of good, discordant, or deprecated. Distinguishes
45 | products with up to date ingredient information (good) from products with
46 | conflicting information (discordant) or products that have been removed from
47 | an active label (deprecated).}
48 | \item{standing-updated-on}{The date on which the standing was last updated}
49 | \item{standing-reason}{Explains the non-good standing of the product.
50 | One of: ingredient_change, code_duplication, invalid, or removed.}
51 | \item{jurisdiction-marketing-category }{The marketing category of this
52 | product in its jurisdiction}
53 | \item{branded}{Whether this product has a named brand}
54 | \item{prescription}{Whether this product is only available with
55 | a prescription}
56 | \item{unapproved}{Whether this product is not approved in its jurisdiction}
57 | \item{vaccine}{Whether this product is a vaccine}
58 | \item{allergenic}{Whether this product is used in allergenic testing}
59 | \item{cosmetic}{Whether this product is a cosmetic, such as sunscreen}
60 | \item{kit}{Whether this product is a kit composed of multiple distinct
61 | parts}
62 | \item{solo}{Whether this product has only a single active ingredient}
63 | \item{available}{Whether this product can be sold in its jurisdiction}
64 | \item{\emph{drugbank_id}}{drugbank id}
65 | }
66 | }
67 | \description{
68 | A list of commercially available products in Canada and the United States
69 | that contain the drug.
70 | }
71 | \keyword{internal}
72 |
--------------------------------------------------------------------------------
/man/drug_reactions.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_reaction_node_parser.R
3 | \name{drug_reactions}
4 | \alias{drug_reactions}
5 | \title{Drug Reactions Parsers}
6 | \usage{
7 | drug_reactions()
8 | }
9 | \value{
10 | a tibble with 5 variables:
11 | \describe{
12 | \item{sequence}{ Reactions are displayed within a numerical sequence}
13 | \item{left_drugbank_name}{The substrate of the reaction. Maybe a drug or a
14 | metabolite.}
15 | \item{rightt_drugbank_name}{ The product of the reaction. Maybe a drug or a
16 | metabolite.}
17 | \item{left_drugbank_id}{}
18 | \item{right_drugbank_id}{}
19 | \item{parent_id}{drugbank id}
20 | }
21 | }
22 | \description{
23 | Extract the sequential representation of the metabolic reactions that this
24 | drug molecule is involved in. Depending on available information, this may
25 | include metabolizing enzymes, reaction type, substrates, products,
26 | pharmacological activity of metabolites, and a structural representation of
27 | the biochemical reactions.
28 | }
29 | \keyword{internal}
30 |
--------------------------------------------------------------------------------
/man/drug_reactions_enzymes.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_reaction_node_parser.R
3 | \name{drug_reactions_enzymes}
4 | \alias{drug_reactions_enzymes}
5 | \title{Drug Reactions Enzymes Parsers}
6 | \usage{
7 | drug_reactions_enzymes()
8 | }
9 | \value{
10 | a tibble with 3 variables:
11 | \describe{
12 | \item{name}{}
13 | \item{uniprot-id}{}
14 | \item{parent_id}{drugbank id}
15 | }
16 | }
17 | \description{
18 | Enzymes involved in metabolizing this drug
19 | }
20 | \keyword{internal}
21 |
--------------------------------------------------------------------------------
/man/drug_salts.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_salts}
4 | \alias{drug_salts}
5 | \title{Drug Salts parser}
6 | \usage{
7 | drug_salts()
8 | }
9 | \value{
10 | a tibble with 1 variables:
11 | \describe{
12 | \item{drugbank-id}{DrugBank identifiers of the available salt form(s).}
13 | \item{name}{Name of the available salt form(s)}
14 | \item{unii}{Unique Ingredient Identifier (UNII) of the available salt
15 | form(s).}
16 | \item{cas-number}{Chemical Abstracts Service (CAS) registry number assigned
17 | to the salt form(s) of the drug.}
18 | \item{inchikey}{IUPAC International Chemical Identifier (InChi) key
19 | identifier for the available salt form(s).}
20 | \item{average-mass}{Average molecular mass: the weighted average of the
21 | isotopic masses of the salt.}
22 | \item{monoisotopic-mass}{The mass of the most abundant isotope of the salt}
23 | \item{smiles}{The simplified molecular-input line-entry system (SMILES) is
24 | a line notation used for describing the structure of chemical species using
25 | short ASCII strings; calculated by ChemAxon.}
26 | \item{inchi}{A prediction of the IUPAC
27 | International Chemical Identifier (InChI); imported by ChemAxon.}
28 | \item{formula}{Indicates the simple numbers of each type of atom within the
29 | molecule; calculated by ChemAxon.}
30 | \item{\emph{drugbank_id}}{parent drugbank id}
31 | }
32 | }
33 | \description{
34 | Available salt forms of the drug. Ions such as hydrochloride, sodium,
35 | and sulfate are often added to the drug molecule to increase solubility,
36 | dissolution, or absorption.
37 | }
38 | \keyword{internal}
39 |
--------------------------------------------------------------------------------
/man/drug_sequences.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_sequence_node_parser.R
3 | \name{drug_sequences}
4 | \alias{drug_sequences}
5 | \title{Drug Sequences parser}
6 | \usage{
7 | drug_sequences()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{sequence}{a textual representation of the sequence}
13 | \item{format}{Currently, only the FASTA format is used}
14 | \item{\emph{drugbank_id}}{drugbank id}
15 | }
16 | }
17 | \description{
18 | The amino acid sequence; provided if the drug is a peptide.
19 | }
20 | \details{
21 | Describes peptide sequences of biotech drugs
22 | }
23 | \keyword{internal}
24 |
--------------------------------------------------------------------------------
/man/drug_snp_adverse_reactions.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_snp_adverse_reactions}
4 | \alias{drug_snp_adverse_reactions}
5 | \title{Drug SNP Adverse Drug Reactions parser}
6 | \usage{
7 | drug_snp_adverse_reactions()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{protein-name}{Proteins involved in this SNP.}
13 | \item{gene-symbol}{Genes involved in this SNP.}
14 | \item{uniprot-id}{Universal Protein Resource (UniProt) identifiers for
15 | proteins involved in this pathway.}
16 | \item{rs-id}{The SNP Database identifier for this single nucleotide
17 | polymorphism.}
18 | \item{allele}{The alleles associated with the identified SNP.}
19 | \item{adverse-reaction}{}
20 | \item{description}{}
21 | \item{pubmed-id }{Reference to PubMed article.}
22 | \item{\emph{drugbank_id}}{drugbank id}
23 | }
24 | }
25 | \description{
26 | The adverse drug reactions that may occur as a result of the listed single
27 | nucleotide polymorphisms (SNPs)
28 | }
29 | \keyword{internal}
30 |
--------------------------------------------------------------------------------
/man/drug_snp_effects.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_parsers.R
3 | \name{drug_snp_effects}
4 | \alias{drug_snp_effects}
5 | \title{Drug SNP Effects parser}
6 | \usage{
7 | drug_snp_effects()
8 | }
9 | \value{
10 | a tibble with the following variables:
11 | \describe{
12 | \item{protein-name}{Proteins involved in this SNP.}
13 | \item{gene-symbol}{Genes involved in this SNP.}
14 | \item{uniprot-id}{Universal Protein Resource (UniProt) identifiers for
15 | proteins involved in this pathway.}
16 | \item{rs-id}{ The SNP Database identifier for this single nucleotide
17 | polymorphism.}
18 | \item{allele}{The alleles associated with the identified SNP.}
19 | \item{defining-change}{}
20 | \item{description}{A written description of the SNP effects.}
21 | \item{pubmed-id }{Reference to PubMed article.}
22 | \item{\emph{drugbank_id}}{drugbank id}
23 | }
24 | }
25 | \description{
26 | A list of single nucleotide polymorphisms (SNPs) relevant to drug activity or
27 | metabolism, and the effects these may have on pharmacological activity.
28 | SNP effects in the patient may require close monitoring, an increase or
29 | }
30 | \keyword{internal}
31 |
--------------------------------------------------------------------------------
/man/drug_syn.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_synonym_node_parser.R
3 | \name{drug_syn}
4 | \alias{drug_syn}
5 | \title{Drug Synonyms parser}
6 | \usage{
7 | drug_syn()
8 | }
9 | \value{
10 | a tibble with 3 variables:
11 | \describe{
12 | \item{language}{Names of the drug in languages other than English.}
13 | \item{coder}{Organization or source providing the synonym. For example,
14 | INN indicates the synonym is an International Nonproprietary Name,
15 | while IUPAC indicates the synonym is the nomenclature designated by the
16 | International Union of Pure and Applied Chemistry.}
17 | \item{\emph{drugbank_id}}{drugbank id}
18 | }
19 | }
20 | \description{
21 | Other names or identifiers that are associated with this drug.
22 | }
23 | \keyword{internal}
24 |
--------------------------------------------------------------------------------
/man/figures/README-pressure-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/man/figures/README-pressure-1.png
--------------------------------------------------------------------------------
/man/figures/README-unnamed-chunk-2-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/man/figures/README-unnamed-chunk-2-1.png
--------------------------------------------------------------------------------
/man/figures/README-unnamed-chunk-3-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/man/figures/README-unnamed-chunk-3-1.png
--------------------------------------------------------------------------------
/man/figures/README-unnamed-chunk-4-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/man/figures/README-unnamed-chunk-4-1.png
--------------------------------------------------------------------------------
/man/figures/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/man/figures/logo.png
--------------------------------------------------------------------------------
/man/init_dvobject.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/dvobject_metadata.R
3 | \name{init_dvobject}
4 | \alias{init_dvobject}
5 | \title{init_dvobject
6 | initialize dvobject}
7 | \usage{
8 | init_dvobject()
9 | }
10 | \value{
11 | dvobject
12 | }
13 | \description{
14 | init_dvobject
15 | initialize dvobject
16 | }
17 | \keyword{internal}
18 |
--------------------------------------------------------------------------------
/man/links.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/references_parsers.R
3 | \name{links}
4 | \alias{links}
5 | \alias{drugs_links}
6 | \alias{carriers_links}
7 | \alias{enzymes_links}
8 | \alias{targets_links}
9 | \alias{transporters_links}
10 | \title{Drugs/ Carriers/ Enzymes/ Targets/ Transporters links element parser}
11 | \usage{
12 | drugs_links()
13 |
14 | carriers_links()
15 |
16 | enzymes_links()
17 |
18 | targets_links()
19 |
20 | transporters_links()
21 | }
22 | \value{
23 | a tibble with 4 variables:
24 | \describe{
25 | \item{ref-id}{Name of the source website}
26 | \item{title}{Identifier for this drug in the given resource}
27 | \item{url}{The url of the website}
28 | \item{\emph{parent_id}}{drug/ carrier/ target/ enzyme/ transporter id}
29 | }
30 | }
31 | \description{
32 | Return a list of websites that were used as references for
33 | Drugs/ Carriers/ Enzymes/ Targets/ Transporters
34 | }
35 | \keyword{internal}
36 |
--------------------------------------------------------------------------------
/man/parseDrugBank.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{parseDrugBank}
4 | \alias{parseDrugBank}
5 | \title{parseDrugBank}
6 | \usage{
7 | parseDrugBank(
8 | db_path,
9 | drug_options = NULL,
10 | parse_salts = FALSE,
11 | parse_products = FALSE,
12 | references_options = NULL,
13 | cett_options = NULL
14 | )
15 | }
16 | \arguments{
17 | \item{db_path}{\strong{string}, full path for the \strong{DrugBank} xml or
18 | zip file.}
19 |
20 | \item{drug_options}{\strong{character vector}, list of sub drug related nodes
21 | names options to parse (default = NULL). Check \code{drug_node_options()}
22 | for all available options. If its value is `NULL` ONLY `drug_general_information`
23 | will be placed in the returned dvobject.}
24 |
25 | \item{parse_salts}{\strong{boolean}, parse salts info (default = FALSE)}
26 |
27 | \item{parse_products}{\strong{boolean}, parse products info (default = FALSE)}
28 |
29 | \item{references_options}{\strong{character vector}, list of sub references
30 | related nodes names options to parse (default = NULL).
31 | Check \code{references_node_options()} for all available options.}
32 |
33 | \item{cett_options}{\strong{character vector}, list of sub cett related nodes
34 | names options to parse (default = NULL). Check \code{cett_nodes_options()}
35 | for all available options.}
36 | }
37 | \value{
38 | dvobject
39 | }
40 | \description{
41 | parses given DrugBank XML database into a dvobject. dvobject is a list of
42 | data.frames in which each data.frame represents a part of parsed data (i.e
43 | drugs, prices, carriers, ...)
44 | }
45 | \seealso{
46 | Other parsers:
47 | \code{\link{cett_nodes_options}()},
48 | \code{\link{drug_node_options}()},
49 | \code{\link{references_node_options}()}
50 | }
51 | \concept{parsers}
52 |
--------------------------------------------------------------------------------
/man/parse_cett_node.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{parse_cett_node}
4 | \alias{parse_cett_node}
5 | \title{Run all CETT related parsers}
6 | \usage{
7 | parse_cett_node(cett_options)
8 | }
9 | \value{
10 | a list of all drugs parsed tibbles
11 | }
12 | \description{
13 | Run all parsers that retrieve carriers, enzymes, targets and transporters
14 | related information
15 | }
16 | \keyword{internal}
17 |
--------------------------------------------------------------------------------
/man/parse_drug_nodes.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{parse_drug_nodes}
4 | \alias{parse_drug_nodes}
5 | \title{Run all drug related parsers}
6 | \usage{
7 | parse_drug_nodes(drug_options)
8 | }
9 | \arguments{
10 | \item{drug_options}{- list of options to parse}
11 | }
12 | \value{
13 | a list of all drugs parsed tibbles
14 | }
15 | \description{
16 | Run all parsers that retrieve drugs related information
17 | }
18 | \keyword{internal}
19 |
--------------------------------------------------------------------------------
/man/parse_references_node.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{parse_references_node}
4 | \alias{parse_references_node}
5 | \title{Drugs/ Carriers/ Enzymes/ Targets/ Transporters references element parser}
6 | \usage{
7 | parse_references_node(references_options)
8 | }
9 | \value{
10 | a list of all references for drugs, carriers, enzymes, targets or
11 | transporters
12 | }
13 | \description{
14 | Drugs/ Carriers/ Enzymes/ Targets/ Transporters references element parser
15 | }
16 | \keyword{internal}
17 |
--------------------------------------------------------------------------------
/man/read_drugbank_xml_db.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drug_common_utilities.R
3 | \name{read_drugbank_xml_db}
4 | \alias{read_drugbank_xml_db}
5 | \title{Reads \strong{DrugBank} xml database and load it into memory.}
6 | \usage{
7 | read_drugbank_xml_db(db_path)
8 | }
9 | \arguments{
10 | \item{db_path}{\strong{string}, full path for the
11 | \strong{DrugBank} xml or zip file.}
12 | }
13 | \value{
14 | loaded DB or NULL
15 | }
16 | \description{
17 | \code{read_drugbank_xml_db} loads \strong{DrugBank} xml database full tree
18 | into memory.
19 | }
20 | \details{
21 | This functions reads \strong{DrugBank} xml database and load it into memory
22 | for later processing. Hence; this method \strong{must} be called before any
23 | other function in the package and it needs to be called one time only.
24 |
25 | It takes one single mandatory argument which is the location of DrugBank db.
26 | }
27 | \keyword{internal}
28 |
--------------------------------------------------------------------------------
/man/references_node_options.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/drugbank_parser.R
3 | \name{references_node_options}
4 | \alias{references_node_options}
5 | \title{returns references node valid options.}
6 | \usage{
7 | references_node_options()
8 | }
9 | \value{
10 | list of references valid options
11 | }
12 | \description{
13 | returns references node valid options.
14 | }
15 | \seealso{
16 | Other parsers:
17 | \code{\link{cett_nodes_options}()},
18 | \code{\link{drug_node_options}()},
19 | \code{\link{parseDrugBank}()}
20 | }
21 | \concept{parsers}
22 |
--------------------------------------------------------------------------------
/man/show_dvobject_metadata.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/dvobject_metadata.R
3 | \name{show_dvobject_metadata}
4 | \alias{show_dvobject_metadata}
5 | \title{init_dvobject
6 | Returns data.frame with two columns (key, value) of dvobject attributes}
7 | \usage{
8 | show_dvobject_metadata(dvobject)
9 | }
10 | \arguments{
11 | \item{dvobject}{- dvobject list to show related metadata}
12 | }
13 | \value{
14 | data.frame
15 | }
16 | \description{
17 | init_dvobject
18 | Returns data.frame with two columns (key, value) of dvobject attributes
19 | }
20 | \concept{utility}
21 |
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/apple-touch-icon.png
--------------------------------------------------------------------------------
/pkgdown/favicon/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/favicon-16x16.png
--------------------------------------------------------------------------------
/pkgdown/favicon/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/favicon-32x32.png
--------------------------------------------------------------------------------
/pkgdown/favicon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/pkgdown/favicon/favicon.ico
--------------------------------------------------------------------------------
/tests/testthat.R:
--------------------------------------------------------------------------------
1 | library(testthat)
2 | library(dbparser)
3 |
4 | test_check("dbparser")
5 |
--------------------------------------------------------------------------------
/tests/testthat/test_dvobject_metadata.R:
--------------------------------------------------------------------------------
1 | context("test drugbank database metadata")
2 |
3 | library(testthat)
4 |
5 | biotech <- "drugbank_record_biotech.xml"
6 | test_that(
7 | desc = "Read database",
8 | code = {
9 | expect_true(!is.null(read_drugbank_xml_db(
10 | system.file("extdata", biotech, package = "dbparser")
11 | )))
12 | }
13 | )
14 |
15 | test_that(
16 | desc = "Read dvobject metadata",
17 | code = {
18 | db_location <- system.file("extdata",
19 | biotech,
20 | package = "dbparser")
21 |
22 | dvobj <- parseDrugBank(db_location)
23 | metadata <- dbparser::show_dvobject_metadata(dvobj)
24 |
25 | expect_match(metadata$Value[[1]], "DrugBank")
26 | expect_match(metadata$Value[[2]], "5.1")
27 | expect_match(metadata$Value[[3]], "2018-07-03")
28 | expect_match(metadata$Value[[4]], "dvobject")
29 | }
30 | )
31 |
--------------------------------------------------------------------------------
/vignettes/.gitignore:
--------------------------------------------------------------------------------
1 | *.html
2 | *.R
3 |
--------------------------------------------------------------------------------
/vignettes/dbparser.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | title: "DrugBank Database XML Parser"
3 | author: "Mohammed Ali"
4 | date: "`r Sys.Date()`"
5 | output: rmarkdown::html_vignette
6 | vignette: >
7 | %\VignetteIndexEntry{DrugBank Database XML Parser}
8 | %\VignetteEngine{knitr::rmarkdown}
9 | %\VignetteEncoding{UTF-8}
10 | ---
11 |
12 | ```{r setup, include = FALSE}
13 | knitr::opts_chunk$set(
14 | collapse = TRUE,
15 | comment = "#>",
16 | fig.path = "docs/articles/",
17 | out.width = "100%"
18 | )
19 | ```
20 |
21 | ## Introduction
22 | The main purpose of the `dbparser` package is to parse the
23 | [DrugBank](https://go.drugbank.com/) database which is downloadable in XML format
24 | from [this link](https://go.drugbank.com/releases/latest). The parsed data can
25 | then be explored and analyzed as desired by the user.
26 | In this tutorial, we will see how to use `dbparser` along with `dplyr` and
27 | `ggplot2` along with other libraries to do simple drug analysis
28 |
29 | ## Loading and Parsing the Data
30 |
31 | Before starting the code we are assuming the following:
32 |
33 | - user already downloaded *DrugBank* xml database file based on the
34 | [Read Me](https://docs.ropensci.org/dbparser/) instructions or the above note,
35 | - user saved the downloaded database in working directory as `C:\`.
36 | - user named the downloaded xml file **drugbank.xml**.
37 |
38 | Now we can loads the `drugs` info, `drug groups` info and `drug targets`
39 | actions info.
40 |
41 | ```{r eval=T}
42 | ## load dbparser package
43 | suppressPackageStartupMessages({
44 | library(tidyr)
45 | library(dplyr)
46 | library(canvasXpress)
47 | library(tibble)
48 | library(dbparser)
49 | })
50 |
51 |
52 | ## load drugs data
53 | drugs <- readRDS(system.file("drugs.RDS", package = "dbparser"))
54 |
55 | ## load drug groups data
56 | drug_groups <- readRDS(system.file("drug_groups.RDS", package = "dbparser"))
57 |
58 | ## load drug targets actions data
59 | drug_targets_actions <- readRDS(system.file("targets_actions.RDS", package = "dbparser"))
60 | ```
61 |
62 |
63 | ## Exploring the data
64 |
65 | Following is an example involving a quick look at a few aspects of the parsed
66 | data. First we look at the proportions of `biotech` and `small-molecule` drugs
67 | in the data.
68 |
69 | ```{r eval=T}
70 | ## view proportions of the different drug types (biotech vs. small molecule)
71 | type_stat <- drugs %>%
72 | select(type) %>%
73 | group_by(type) %>%
74 | summarise(count = n()) %>%
75 | column_to_rownames("type")
76 |
77 | canvasXpress(
78 | data = type_stat,
79 | graphOrientation = "vertical",
80 | graphType = "Bar",
81 | showSampleNames = FALSE,
82 | title ="Drugs Type Distribution",
83 | xAxisTitle = "Count"
84 | )
85 | ```
86 |
87 |
88 | Below, we view the different `drug_groups` in the data and how prevalent they
89 | are.
90 |
91 | ```{r eval=T}
92 | ## view proportions of the different drug types for each drug group
93 | type_stat <- drugs %>%
94 | full_join(drug_groups, by = c("drugbank_id")) %>%
95 | select(type, group) %>%
96 | group_by(type, group) %>%
97 | summarise(count = n()) %>%
98 | pivot_wider(names_from = group, values_from = count) %>%
99 | column_to_rownames("type")
100 |
101 | canvasXpress(
102 | data = type_stat,
103 | graphType = "Stacked",
104 | legendColumns = 2,
105 | legendPosition = "bottom",
106 | title ="Drug Type Distribution per Drug Group",
107 | xAxisTitle = "Quantity",
108 | xAxis2Show = TRUE,
109 | xAxisShow = FALSE,
110 | smpTitle = "Drug Group")
111 | ```
112 |
113 | Finally, we look at the `drug_targets_actions` to observe their proportions as
114 | well.
115 |
116 |
117 | ```{r eval=T}
118 | ## get counts of the different target actions in the data
119 | targetActionCounts <-
120 | drug_targets_actions %>%
121 | group_by(action) %>%
122 | summarise(count = n()) %>%
123 | arrange(desc(count)) %>%
124 | top_n(10) %>%
125 | column_to_rownames("action")
126 |
127 | ## get bar chart of the 10 most occurring target actions in the data
128 | canvasXpress(
129 | data = targetActionCounts,
130 | graphType = "Bar",
131 | legendColumns = 2,
132 | legendPosition = "bottom",
133 | title = "Target Actions Distribution",
134 | showSampleNames = FALSE,
135 | xAxis2Show = TRUE,
136 | xAxisShow = FALSE)
137 | ```
138 |
139 |
--------------------------------------------------------------------------------
/vignettes/maria_tables.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ropensci/dbparser/39d9a078503c734a74d5f0fdc693db117e94b40f/vignettes/maria_tables.png
--------------------------------------------------------------------------------