From ad01cb05329ef72fa62c2cac5e5870687706e691 Mon Sep 17 00:00:00 2001 From: jjjermiah <44614774+jjjermiah@users.noreply.github.com> Date: Wed, 13 Mar 2024 23:16:01 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20bhklab/A?= =?UTF-8?q?nnotationGx@5f07191525774099f870f7b01bdcf692777f6e7e=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/PubChemAPI.html | 2 +- pkgdown.yml | 2 +- reference/getPubchemStatus.html | 10 +++++----- search.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/articles/PubChemAPI.html b/articles/PubChemAPI.html index c51fd1c..c21ac00 100644 --- a/articles/PubChemAPI.html +++ b/articles/PubChemAPI.html @@ -154,7 +154,7 @@

Mapping from chemical name to be returned and a warning will be issued.

 (result <- mapCompound2CID(c(drugs, "non existent compound", "another bad compound"), first = TRUE))
-#> [20:57:57] [WARNING] [AnnotationGx::getPubchemCompound] Some queries failed. See the 'failed' object for details.
+#> [23:15:48] [WARNING] [AnnotationGx::getPubchemCompound] Some queries failed. See the 'failed' object for details.
 #>                     name    cids
 #>                   <char>   <int>
 #> 1:               Aspirin    2244
diff --git a/pkgdown.yml b/pkgdown.yml
index 10fb270..7ce6b1e 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -5,7 +5,7 @@ articles:
   Cellosaurus: Cellosaurus.html
   OncoTree: OncoTree.html
   PubChemAPI: PubChemAPI.html
-last_built: 2024-03-12T20:57Z
+last_built: 2024-03-13T23:15Z
 urls:
   reference: https://bhklab.github.io/AnnotationGx/reference
   article: https://bhklab.github.io/AnnotationGx/articles
diff --git a/reference/getPubchemStatus.html b/reference/getPubchemStatus.html
index b1da7b7..5b21a42 100644
--- a/reference/getPubchemStatus.html
+++ b/reference/getPubchemStatus.html
@@ -88,20 +88,20 @@ 

Value

Examples

getPubchemStatus()
 #> Throttling status:
-#> Request Count status: Green (1%)
+#> Request Count status: Green (2%)
 #> Request Time status: Green (0%)
 #> Service status: Green (13%)
 getPubchemStatus(returnMessage = TRUE)
 #> Throttling status:
-#> Request Count status: Green (1%)
+#> Request Count status: Green (2%)
 #> Request Time status: Green (0%)
-#> Service status: Green (20%)
+#> Service status: Green (7%)
 #> $request_count
 #> $request_count$status
 #> [1] "Green"
 #> 
 #> $request_count$percent
-#> [1] 1
+#> [1] 2
 #> 
 #> 
 #> $request_time
@@ -117,7 +117,7 @@ 

Examples#> [1] "Green" #> #> $service$percent -#> [1] 20 +#> [1] 7 #> #> getPubchemStatus(printMessage = FALSE) diff --git a/search.json b/search.json index b39b85d..58be5e0 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"GNU General Public License","title":"GNU General Public License","text":"Version 3, 29 June 2007Copyright © 2007 Free Software Foundation, Inc.  Everyone permitted copy distribute verbatim copies license document, changing allowed.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"preamble","dir":"","previous_headings":"","what":"Preamble","title":"GNU General Public License","text":"GNU General Public License free, copyleft license software kinds works. licenses software practical works designed take away freedom share change works. contrast, GNU General Public License intended guarantee freedom share change versions program–make sure remains free software users. , Free Software Foundation, use GNU General Public License software; applies also work released way authors. can apply programs, . speak free software, referring freedom, price. General Public Licenses designed make sure freedom distribute copies free software (charge wish), receive source code can get want , can change software use pieces new free programs, know can things. protect rights, need prevent others denying rights asking surrender rights. Therefore, certain responsibilities distribute copies software, modify : responsibilities respect freedom others. example, distribute copies program, whether gratis fee, must pass recipients freedoms received. must make sure , , receive can get source code. must show terms know rights. Developers use GNU GPL protect rights two steps: (1) assert copyright software, (2) offer License giving legal permission copy, distribute /modify . developers’ authors’ protection, GPL clearly explains warranty free software. users’ authors’ sake, GPL requires modified versions marked changed, problems attributed erroneously authors previous versions. devices designed deny users access install run modified versions software inside , although manufacturer can . fundamentally incompatible aim protecting users’ freedom change software. systematic pattern abuse occurs area products individuals use, precisely unacceptable. Therefore, designed version GPL prohibit practice products. problems arise substantially domains, stand ready extend provision domains future versions GPL, needed protect freedom users. Finally, every program threatened constantly software patents. States allow patents restrict development use software general-purpose computers, , wish avoid special danger patents applied free program make effectively proprietary. prevent , GPL assures patents used render program non-free. precise terms conditions copying, distribution modification follow.","code":""},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_0-definitions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"0. Definitions","title":"GNU General Public License","text":"“License” refers version 3 GNU General Public License. “Copyright” also means copyright-like laws apply kinds works, semiconductor masks. “Program” refers copyrightable work licensed License. licensee addressed “”. “Licensees” “recipients” may individuals organizations. “modify” work means copy adapt part work fashion requiring copyright permission, making exact copy. resulting work called “modified version” earlier work work “based ” earlier work. “covered work” means either unmodified Program work based Program. “propagate” work means anything , without permission, make directly secondarily liable infringement applicable copyright law, except executing computer modifying private copy. Propagation includes copying, distribution (without modification), making available public, countries activities well. “convey” work means kind propagation enables parties make receive copies. Mere interaction user computer network, transfer copy, conveying. interactive user interface displays “Appropriate Legal Notices” extent includes convenient prominently visible feature (1) displays appropriate copyright notice, (2) tells user warranty work (except extent warranties provided), licensees may convey work License, view copy License. interface presents list user commands options, menu, prominent item list meets criterion.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_1-source-code","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"1. Source Code","title":"GNU General Public License","text":"“source code” work means preferred form work making modifications . “Object code” means non-source form work. “Standard Interface” means interface either official standard defined recognized standards body, , case interfaces specified particular programming language, one widely used among developers working language. “System Libraries” executable work include anything, work whole, () included normal form packaging Major Component, part Major Component, (b) serves enable use work Major Component, implement Standard Interface implementation available public source code form. “Major Component”, context, means major essential component (kernel, window system, ) specific operating system () executable work runs, compiler used produce work, object code interpreter used run . “Corresponding Source” work object code form means source code needed generate, install, (executable work) run object code modify work, including scripts control activities. However, include work’s System Libraries, general-purpose tools generally available free programs used unmodified performing activities part work. example, Corresponding Source includes interface definition files associated source files work, source code shared libraries dynamically linked subprograms work specifically designed require, intimate data communication control flow subprograms parts work. Corresponding Source need include anything users can regenerate automatically parts Corresponding Source. Corresponding Source work source code form work.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_2-basic-permissions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"2. Basic Permissions","title":"GNU General Public License","text":"rights granted License granted term copyright Program, irrevocable provided stated conditions met. License explicitly affirms unlimited permission run unmodified Program. output running covered work covered License output, given content, constitutes covered work. License acknowledges rights fair use equivalent, provided copyright law. may make, run propagate covered works convey, without conditions long license otherwise remains force. may convey covered works others sole purpose make modifications exclusively , provide facilities running works, provided comply terms License conveying material control copyright. thus making running covered works must exclusively behalf, direction control, terms prohibit making copies copyrighted material outside relationship . Conveying circumstances permitted solely conditions stated . Sublicensing allowed; section 10 makes unnecessary.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_3-protecting-users-legal-rights-from-anti-circumvention-law","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"3. Protecting Users’ Legal Rights From Anti-Circumvention Law","title":"GNU General Public License","text":"covered work shall deemed part effective technological measure applicable law fulfilling obligations article 11 WIPO copyright treaty adopted 20 December 1996, similar laws prohibiting restricting circumvention measures. convey covered work, waive legal power forbid circumvention technological measures extent circumvention effected exercising rights License respect covered work, disclaim intention limit operation modification work means enforcing, work’s users, third parties’ legal rights forbid circumvention technological measures.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_4-conveying-verbatim-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"4. Conveying Verbatim Copies","title":"GNU General Public License","text":"may convey verbatim copies Program’s source code receive , medium, provided conspicuously appropriately publish copy appropriate copyright notice; keep intact notices stating License non-permissive terms added accord section 7 apply code; keep intact notices absence warranty; give recipients copy License along Program. may charge price price copy convey, may offer support warranty protection fee.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_5-conveying-modified-source-versions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"5. Conveying Modified Source Versions","title":"GNU General Public License","text":"may convey work based Program, modifications produce Program, form source code terms section 4, provided also meet conditions: ) work must carry prominent notices stating modified , giving relevant date. b) work must carry prominent notices stating released License conditions added section 7. requirement modifies requirement section 4 “keep intact notices”. c) must license entire work, whole, License anyone comes possession copy. License therefore apply, along applicable section 7 additional terms, whole work, parts, regardless packaged. License gives permission license work way, invalidate permission separately received . d) work interactive user interfaces, must display Appropriate Legal Notices; however, Program interactive interfaces display Appropriate Legal Notices, work need make . compilation covered work separate independent works, nature extensions covered work, combined form larger program, volume storage distribution medium, called “aggregate” compilation resulting copyright used limit access legal rights compilation’s users beyond individual works permit. Inclusion covered work aggregate cause License apply parts aggregate.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_6-conveying-non-source-forms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"6. Conveying Non-Source Forms","title":"GNU General Public License","text":"may convey covered work object code form terms sections 4 5, provided also convey machine-readable Corresponding Source terms License, one ways: ) Convey object code , embodied , physical product (including physical distribution medium), accompanied Corresponding Source fixed durable physical medium customarily used software interchange. b) Convey object code , embodied , physical product (including physical distribution medium), accompanied written offer, valid least three years valid long offer spare parts customer support product model, give anyone possesses object code either (1) copy Corresponding Source software product covered License, durable physical medium customarily used software interchange, price reasonable cost physically performing conveying source, (2) access copy Corresponding Source network server charge. c) Convey individual copies object code copy written offer provide Corresponding Source. alternative allowed occasionally noncommercially, received object code offer, accord subsection 6b. d) Convey object code offering access designated place (gratis charge), offer equivalent access Corresponding Source way place charge. need require recipients copy Corresponding Source along object code. place copy object code network server, Corresponding Source may different server (operated third party) supports equivalent copying facilities, provided maintain clear directions next object code saying find Corresponding Source. Regardless server hosts Corresponding Source, remain obligated ensure available long needed satisfy requirements. e) Convey object code using peer--peer transmission, provided inform peers object code Corresponding Source work offered general public charge subsection 6d. separable portion object code, whose source code excluded Corresponding Source System Library, need included conveying object code work. “User Product” either (1) “consumer product”, means tangible personal property normally used personal, family, household purposes, (2) anything designed sold incorporation dwelling. determining whether product consumer product, doubtful cases shall resolved favor coverage. particular product received particular user, “normally used” refers typical common use class product, regardless status particular user way particular user actually uses, expects expected use, product. product consumer product regardless whether product substantial commercial, industrial non-consumer uses, unless uses represent significant mode use product. “Installation Information” User Product means methods, procedures, authorization keys, information required install execute modified versions covered work User Product modified version Corresponding Source. information must suffice ensure continued functioning modified object code case prevented interfered solely modification made. convey object code work section , , specifically use , User Product, conveying occurs part transaction right possession use User Product transferred recipient perpetuity fixed term (regardless transaction characterized), Corresponding Source conveyed section must accompanied Installation Information. requirement apply neither third party retains ability install modified object code User Product (example, work installed ROM). requirement provide Installation Information include requirement continue provide support service, warranty, updates work modified installed recipient, User Product modified installed. Access network may denied modification materially adversely affects operation network violates rules protocols communication across network. Corresponding Source conveyed, Installation Information provided, accord section must format publicly documented (implementation available public source code form), must require special password key unpacking, reading copying.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_7-additional-terms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"7. Additional Terms","title":"GNU General Public License","text":"“Additional permissions” terms supplement terms License making exceptions one conditions. Additional permissions applicable entire Program shall treated though included License, extent valid applicable law. additional permissions apply part Program, part may used separately permissions, entire Program remains governed License without regard additional permissions. convey copy covered work, may option remove additional permissions copy, part . (Additional permissions may written require removal certain cases modify work.) may place additional permissions material, added covered work, can give appropriate copyright permission. Notwithstanding provision License, material add covered work, may (authorized copyright holders material) supplement terms License terms: ) Disclaiming warranty limiting liability differently terms sections 15 16 License; b) Requiring preservation specified reasonable legal notices author attributions material Appropriate Legal Notices displayed works containing ; c) Prohibiting misrepresentation origin material, requiring modified versions material marked reasonable ways different original version; d) Limiting use publicity purposes names licensors authors material; e) Declining grant rights trademark law use trade names, trademarks, service marks; f) Requiring indemnification licensors authors material anyone conveys material (modified versions ) contractual assumptions liability recipient, liability contractual assumptions directly impose licensors authors. non-permissive additional terms considered “restrictions” within meaning section 10. Program received , part , contains notice stating governed License along term restriction, may remove term. license document contains restriction permits relicensing conveying License, may add covered work material governed terms license document, provided restriction survive relicensing conveying. add terms covered work accord section, must place, relevant source files, statement additional terms apply files, notice indicating find applicable terms. Additional terms, permissive non-permissive, may stated form separately written license, stated exceptions; requirements apply either way.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_8-termination","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"8. Termination","title":"GNU General Public License","text":"may propagate modify covered work except expressly provided License. attempt otherwise propagate modify void, automatically terminate rights License (including patent licenses granted third paragraph section 11). However, cease violation License, license particular copyright holder reinstated () provisionally, unless copyright holder explicitly finally terminates license, (b) permanently, copyright holder fails notify violation reasonable means prior 60 days cessation. Moreover, license particular copyright holder reinstated permanently copyright holder notifies violation reasonable means, first time received notice violation License (work) copyright holder, cure violation prior 30 days receipt notice. Termination rights section terminate licenses parties received copies rights License. rights terminated permanently reinstated, qualify receive new licenses material section 10.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_9-acceptance-not-required-for-having-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"9. Acceptance Not Required for Having Copies","title":"GNU General Public License","text":"required accept License order receive run copy Program. Ancillary propagation covered work occurring solely consequence using peer--peer transmission receive copy likewise require acceptance. However, nothing License grants permission propagate modify covered work. actions infringe copyright accept License. Therefore, modifying propagating covered work, indicate acceptance License .","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_10-automatic-licensing-of-downstream-recipients","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"10. Automatic Licensing of Downstream Recipients","title":"GNU General Public License","text":"time convey covered work, recipient automatically receives license original licensors, run, modify propagate work, subject License. responsible enforcing compliance third parties License. “entity transaction” transaction transferring control organization, substantially assets one, subdividing organization, merging organizations. propagation covered work results entity transaction, party transaction receives copy work also receives whatever licenses work party’s predecessor interest give previous paragraph, plus right possession Corresponding Source work predecessor interest, predecessor can get reasonable efforts. may impose restrictions exercise rights granted affirmed License. example, may impose license fee, royalty, charge exercise rights granted License, may initiate litigation (including cross-claim counterclaim lawsuit) alleging patent claim infringed making, using, selling, offering sale, importing Program portion .","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_11-patents","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"11. Patents","title":"GNU General Public License","text":"“contributor” copyright holder authorizes use License Program work Program based. work thus licensed called contributor’s “contributor version”. contributor’s “essential patent claims” patent claims owned controlled contributor, whether already acquired hereafter acquired, infringed manner, permitted License, making, using, selling contributor version, include claims infringed consequence modification contributor version. purposes definition, “control” includes right grant patent sublicenses manner consistent requirements License. contributor grants non-exclusive, worldwide, royalty-free patent license contributor’s essential patent claims, make, use, sell, offer sale, import otherwise run, modify propagate contents contributor version. following three paragraphs, “patent license” express agreement commitment, however denominated, enforce patent (express permission practice patent covenant sue patent infringement). “grant” patent license party means make agreement commitment enforce patent party. convey covered work, knowingly relying patent license, Corresponding Source work available anyone copy, free charge terms License, publicly available network server readily accessible means, must either (1) cause Corresponding Source available, (2) arrange deprive benefit patent license particular work, (3) arrange, manner consistent requirements License, extend patent license downstream recipients. “Knowingly relying” means actual knowledge , patent license, conveying covered work country, recipient’s use covered work country, infringe one identifiable patents country reason believe valid. , pursuant connection single transaction arrangement, convey, propagate procuring conveyance , covered work, grant patent license parties receiving covered work authorizing use, propagate, modify convey specific copy covered work, patent license grant automatically extended recipients covered work works based . patent license “discriminatory” include within scope coverage, prohibits exercise , conditioned non-exercise one rights specifically granted License. may convey covered work party arrangement third party business distributing software, make payment third party based extent activity conveying work, third party grants, parties receive covered work , discriminatory patent license () connection copies covered work conveyed (copies made copies), (b) primarily connection specific products compilations contain covered work, unless entered arrangement, patent license granted, prior 28 March 2007. Nothing License shall construed excluding limiting implied license defenses infringement may otherwise available applicable patent law.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_12-no-surrender-of-others-freedom","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"12. No Surrender of Others’ Freedom","title":"GNU General Public License","text":"conditions imposed (whether court order, agreement otherwise) contradict conditions License, excuse conditions License. convey covered work satisfy simultaneously obligations License pertinent obligations, consequence may convey . example, agree terms obligate collect royalty conveying convey Program, way satisfy terms License refrain entirely conveying Program.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_13-use-with-the-gnu-affero-general-public-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"13. Use with the GNU Affero General Public License","title":"GNU General Public License","text":"Notwithstanding provision License, permission link combine covered work work licensed version 3 GNU Affero General Public License single combined work, convey resulting work. terms License continue apply part covered work, special requirements GNU Affero General Public License, section 13, concerning interaction network apply combination .","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_14-revised-versions-of-this-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"14. Revised Versions of this License","title":"GNU General Public License","text":"Free Software Foundation may publish revised /new versions GNU General Public License time time. new versions similar spirit present version, may differ detail address new problems concerns. version given distinguishing version number. Program specifies certain numbered version GNU General Public License “later version” applies , option following terms conditions either numbered version later version published Free Software Foundation. Program specify version number GNU General Public License, may choose version ever published Free Software Foundation. Program specifies proxy can decide future versions GNU General Public License can used, proxy’s public statement acceptance version permanently authorizes choose version Program. Later license versions may give additional different permissions. However, additional obligations imposed author copyright holder result choosing follow later version.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_15-disclaimer-of-warranty","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"15. Disclaimer of Warranty","title":"GNU General Public License","text":"WARRANTY PROGRAM, EXTENT PERMITTED APPLICABLE LAW. EXCEPT OTHERWISE STATED WRITING COPYRIGHT HOLDERS /PARTIES PROVIDE PROGRAM “” WITHOUT WARRANTY KIND, EITHER EXPRESSED IMPLIED, INCLUDING, LIMITED , IMPLIED WARRANTIES MERCHANTABILITY FITNESS PARTICULAR PURPOSE. ENTIRE RISK QUALITY PERFORMANCE PROGRAM . PROGRAM PROVE DEFECTIVE, ASSUME COST NECESSARY SERVICING, REPAIR CORRECTION.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_16-limitation-of-liability","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"16. Limitation of Liability","title":"GNU General Public License","text":"EVENT UNLESS REQUIRED APPLICABLE LAW AGREED WRITING COPYRIGHT HOLDER, PARTY MODIFIES /CONVEYS PROGRAM PERMITTED , LIABLE DAMAGES, INCLUDING GENERAL, SPECIAL, INCIDENTAL CONSEQUENTIAL DAMAGES ARISING USE INABILITY USE PROGRAM (INCLUDING LIMITED LOSS DATA DATA RENDERED INACCURATE LOSSES SUSTAINED THIRD PARTIES FAILURE PROGRAM OPERATE PROGRAMS), EVEN HOLDER PARTY ADVISED POSSIBILITY DAMAGES.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_17-interpretation-of-sections-15-and-16","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"17. Interpretation of Sections 15 and 16","title":"GNU General Public License","text":"disclaimer warranty limitation liability provided given local legal effect according terms, reviewing courts shall apply local law closely approximates absolute waiver civil liability connection Program, unless warranty assumption liability accompanies copy Program return fee. END TERMS CONDITIONS","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"how-to-apply-these-terms-to-your-new-programs","dir":"","previous_headings":"","what":"How to Apply These Terms to Your New Programs","title":"GNU General Public License","text":"develop new program, want greatest possible use public, best way achieve make free software everyone can redistribute change terms. , attach following notices program. safest attach start source file effectively state exclusion warranty; file least “copyright” line pointer full notice found. Also add information contact electronic paper mail. program terminal interaction, make output short notice like starts interactive mode: hypothetical commands show w show c show appropriate parts General Public License. course, program’s commands might different; GUI interface, use “box”. also get employer (work programmer) school, , sign “copyright disclaimer” program, necessary. information , apply follow GNU GPL, see . GNU General Public License permit incorporating program proprietary programs. program subroutine library, may consider useful permit linking proprietary applications library. want , use GNU Lesser General Public License instead License. first, please read .","code":" Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free software, and you are welcome to redistribute it under certain conditions; type 'show c' for details."},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"introduction","dir":"Articles","previous_headings":"","what":"Introduction","title":"Querying Cellosaurus","text":"Cellosaurus comprehensive knowledge resource dedicated cell lines, providing wealth information various types cells used biomedical research. serves centralized repository offers detailed data cell lines, including origins, characteristics, authentication methods, references, . Please view Cellosaurus website https://web.expasy.org/cellosaurus/ information detailed description can found https://www.cellosaurus.org/description.html. AnnotationGx package provides wrapper around Cellosaurus API map cell line identifiers Cellosaurus database fields.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"setup","dir":"Articles","previous_headings":"Introduction","what":"Setup","title":"Querying Cellosaurus","text":"","code":"library(AnnotationGx) library(data.table)"},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"mapping-from-cell-line-name-to-accession-id","dir":"Articles","previous_headings":"Introduction","what":"Mapping from Cell Line name to Accession id","title":"Querying Cellosaurus","text":"main function provided package mapCell2Accession. function takes vector cell line identifiers returns data.table. Let’s see can use function map “HeLa” “A549” cell line names Cellosaurus database. default, function try map using common identifier (=\"id\") name return standard identifier id Cellosaurus accession ID ac. function also returns two additional columns query query:<> can used identify original query original identifier type needed.","code":"Usage and default values: mapCell2Accession( ids, numResults = 1000, from = \"id\", to = c(\"id\", \"ac\"), prioritizeParent = FALSE, orderby = \"ac\", query_only = FALSE, raw = FALSE, BPPARAM = BiocParallel::SerialParam(), ... ) mapCell2Accession(\"hela\", numResults = 1) #> id ac query query:id #> #> 1: HeLa CVCL_0030 id:hela hela"},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"misspelled-or-non-standard-cell-line-names","dir":"Articles","previous_headings":"Introduction","what":"misspelled or non-standard cell line names","title":"Querying Cellosaurus","text":"Sometimes cell line name might misspelled might standard name. case query “A549” way. main identifier A549 cell line “-549” accesion id “CVCL_0023” appear even first 10 results (40th result adjust numResults parameter) manually adjust every query match standard name, feasible hundreds cell lines. ways deal issue. first method based reasoning many cell lines derived parent cell line. deal issue, can use prioritizeParent argument. argument use parent cell line returned result prioritize results based accession id parent cell line. Another example using BT474 cell line.","code":"# our query: mapCell2Accession(\"A549\", from = \"id\", numResults = 1) #> id ac query query:id #> #> 1: A549 Cas9 CVCL_DX70 id:A549 A549 # if we use the actual standard name: mapCell2Accession(\"A-549\", from = \"id\", numResults = 1) #> id ac query query:id #> #> 1: A-549 CVCL_0023 id:A-549 A-549 # trying to get the standard name with more results mapCell2Accession(\"A549\", from = \"id\", numResults = 10) #> id ac query query:id #> #> 1: A549 Cas9 CVCL_DX70 id:A549 A549 #> 2: A549 DHODH-/- CVCL_YZ46 id:A549 A549 #> 3: A549 HIF1A -/-/- CVCL_C3C5 id:A549 A549 #> 4: A549 MX10 CVCL_LB65 id:A549 A549 #> 5: A549 OS8 CVCL_XY99 id:A549 A549 #> 6: A549 SMAD4 -/- CVCL_C3C4 id:A549 A549 #> 7: A549-1 CVCL_A1ZW id:A549 A549 #> 8: A549-5Fu CVCL_XE67 id:A549 A549 #> 9: A549-AC CVCL_D1JI id:A549 A549 #> 10: A549-ACE2 CVCL_C0Q5 id:A549 A549 mapCell2Accession(\"A549\", from = \"id\", numResults = 1, prioritizeParent = TRUE) #> id ac query query:id #> #> 1: A549(VM)28 CVCL_4V06 id:A549 A549 mapCell2Accession(\"BT474\", numResults = 1, prioritizeParent = FALSE) #> id ac query query:id #> #> 1: BT474 A3 CVCL_YX79 id:BT474 BT474 mapCell2Accession(\"BT474\", numResults = 1, prioritizeParent = TRUE) #> id ac query query:id #> #> 1: BT474-5FU[r] CVCL_4V65 id:BT474 BT474"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"introduction","dir":"Articles","previous_headings":"","what":"Introduction","title":"Querying OncoTree","text":"OncoTree standardized classification system used cancer research clinical practice categorize different types cancer based tissue origin, molecular characteristics, relevant factors. Developed National Cancer Institute (NCI) within United States, OncoTree provides hierarchical framework organizes cancer types structured tree-like diagram. provides standardized classification system categorizing different types cancer based tissue origin, molecular characteristics, relevant factors. provides hierarchical framework organizes cancer types structured tree-like diagram. useful ensuring consistency cancer types classified reported across different studies clinical settings.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"setup","dir":"Articles","previous_headings":"","what":"Setup","title":"Querying OncoTree","text":"","code":"library(AnnotationGx)"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"querying-oncotree","dir":"Articles","previous_headings":"","what":"Querying OncoTree","title":"Querying OncoTree","text":"AnnotationGx provides set functions querying OncoTree retrieve three types information: - OncoTree release versions - Main Cancer types - Subtypes specific cancer type relationships","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"oncotree-release-versions","dir":"Articles","previous_headings":"Querying OncoTree","what":"OncoTree release versions","title":"Querying OncoTree","text":"getOncotreeVersions function retrieves available OncoTree release.","code":"getOncotreeVersions() #> api_identifier #> #> 1: oncotree_2017_11_01 #> 2: oncotree_2020_10_01 #> 3: oncotree_2020_02_06 #> 4: oncotree_2019_12_01 #> 5: oncotree_2018_07_01 #> 6: oncotree_2017_06_21 #> 7: oncotree_2018_08_01 #> 8: oncotree_2017_10_05 #> 9: oncotree_2019_08_01 #> 10: oncotree_2018_09_01 #> 11: oncotree_2018_06_01 #> 12: oncotree_2018_03_01 #> 13: oncotree_2018_04_01 #> 14: oncotree_2018_05_01 #> 15: oncotree_2018_02_01 #> 16: oncotree_2019_05_01 #> 17: oncotree_legacy_1.1 #> 18: oncotree_2018_01_01 #> 19: oncotree_2018_06_15 #> 20: oncotree_2019_02_01 #> 21: oncotree_2020_04_01 #> 22: oncotree_2019_03_01 #> 23: oncotree_2020_02_01 #> 24: oncotree_2021_11_02 #> 25: oncotree_development #> 26: oncotree_latest_stable #> 27: oncotree_2018_11_01 #> 28: oncotree_candidate_release #> api_identifier #> description #> #> 1: Stable OncoTree released on date 2017-11-01 #> 2: Stable OncoTree released on date 2020-10-01 #> 3: Stable OncoTree released on date 2020-02-06 #> 4: Stable OncoTree released on date 2019-12-01 #> 5: Stable OncoTree released on date 2018-07-01 #> 6: Stable OncoTree released on date 2017-06-21 #> 7: Stable OncoTree released on date 2018-08-01 #> 8: Stable OncoTree released on date 2017-10-05 #> 9: Stable OncoTree released on date 2019-08-01 #> 10: Stable OncoTree released on date 2018-09-01 #> 11: Stable OncoTree released on date 2018-06-01 #> 12: Stable OncoTree released on date 2018-03-01 #> 13: Stable OncoTree released on date 2018-04-01 #> 14: Stable OncoTree released on date 2018-05-01 #> 15: Stable OncoTree released on date 2018-02-01 #> 16: Stable OncoTree released on date 2019-05-01 #> 17: This is the closest match in TopBraid for the TumorTypes_txt file associated with release 1.1 of OncoTree (approved by committee) #> 18: Stable OncoTree released on date 2018-01-01 #> 19: Stable OncoTree released on date 2018-06-15 #> 20: Stable OncoTree released on date 2019-02-01 #> 21: Stable OncoTree released on date 2020-04-01 #> 22: Stable OncoTree released on date 2019-03-01 #> 23: Stable OncoTree released on date 2020-02-01 #> 24: Stable OncoTree released on date 2021-11-02 #> 25: Latest OncoTree under development (subject to change without notice<\/b>) #> 26: This is the latest approved version for public use. #> 27: Stable OncoTree released on date 2018-11-01 #> 28: This version of the OncoTree reflects upcoming changes which have been approved for the next public release of oncotree. It also includes a small number of nodes which will not be included in the next public release (see the news page for more details). The next public release may possibly include additional oncotree nodes, if approved. #> description #> visible release_date #> #> 1: FALSE 2017-11-01 #> 2: FALSE 2020-10-01 #> 3: FALSE 2020-02-06 #> 4: FALSE 2019-12-01 #> 5: FALSE 2018-07-01 #> 6: FALSE 2017-06-21 #> 7: FALSE 2018-08-01 #> 8: FALSE 2017-10-05 #> 9: FALSE 2019-08-01 #> 10: FALSE 2018-09-01 #> 11: FALSE 2018-06-01 #> 12: FALSE 2018-03-01 #> 13: FALSE 2018-04-01 #> 14: FALSE 2018-05-01 #> 15: FALSE 2018-02-01 #> 16: FALSE 2019-05-01 #> 17: FALSE 2016-03-28 #> 18: FALSE 2018-01-01 #> 19: FALSE 2018-06-15 #> 20: FALSE 2019-02-01 #> 21: FALSE 2020-04-01 #> 22: FALSE 2019-03-01 #> 23: FALSE 2020-02-01 #> 24: FALSE 2021-11-02 #> 25: TRUE 2021-11-04 #> 26: TRUE 2021-11-02 #> 27: FALSE 2018-11-01 #> 28: TRUE 2021-11-03 #> visible release_date"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"main-cancer-types","dir":"Articles","previous_headings":"Querying OncoTree","what":"Main Cancer types","title":"Querying OncoTree","text":"getMainCancerTypes function retrieves main cancer types OncoTree.","code":"getOncotreeMainTypes() #> mainType #> #> 1: Endometrial Cancer #> 2: Melanocytoma #> 3: Colorectal Cancer #> 4: Peripheral Nervous System #> 5: Uterine Sarcoma #> --- #> 111: Glioma #> 112: Biliary Tract Cancer #> 113: Prostate Cancer #> 114: Wilms Tumor #> 115: Renal Neuroendocrine Tumor"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"subtypes-of-a-specific-cancer-type","dir":"Articles","previous_headings":"Querying OncoTree","what":"Subtypes of a specific cancer type","title":"Querying OncoTree","text":"getCancerSubtypes function retrieves subtypes specific cancer type.","code":"getOncotreeTumorTypes() #> code color name #> #> 1: MMB Gray Medullomyoblastoma #> 2: GCB LimeGreen Germinal Center B-Cell Type #> 3: SBLU LimeGreen Splenic B-Cell Lymphoma/Leukemia, Unclassifiable #> 4: OHNCA DarkRed Head and Neck Carcinoma, Other #> 5: PAOS White Parosteal Osteosarcoma #> --- #> 881: VSC Purple Squamous Cell Carcinoma of the Vulva/Vagina #> 882: OOVC LightBlue Ovarian Cancer, Other #> 883: LCH LightSalmon Langerhans Cell Histiocytosis #> 884: PSEC Green Peritoneal Serous Carcinoma #> 885: AM LightSalmon AML with Maturation #> mainType externalReferences tissue children #> #> 1: Embryonal Tumor C0205833 C3706 CNS/Brain #> 2: Mature B-Cell Neoplasms Lymphoid #> 3: Mature B-Cell Neoplasms Lymphoid #> 4: Head and Neck Cancer Head and Neck #> 5: Bone Cancer C0206642 C8969 Bone #> --- #> 881: Vaginal Cancer C0238518 C7736 Vulva/Vagina #> 882: Ovarian Cancer Ovary/Fallopian Tube #> 883: Histiocytosis C0019621 C3107 Myeloid #> 884: Peritoneal Cancer, NOS Peritoneum #> 885: Leukemia Myeloid #> parent history level revocations precursors #> #> 1: EMBT 3 #> 2: DLBCLNOS 6 #> 3: MBN 5 #> 4: HEAD_NECK 2 #> 5: OS 3 #> --- #> 881: VULVA 2 #> 882: OVARY 2 #> 883: HDCN 4 #> 884: PERITONEUM 2 #> 885: AMLNOS 5"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"introduction-to-pubchem-apis","dir":"Articles","previous_headings":"","what":"Introduction to PubChem APIs","title":"Querying PubChem","text":"PubChem database chemical molecules biological activities. part National Center Biotechnology Information (NCBI), part National Institutes Health (NIH). PubChem provides set APIs query database. AnnotationGx package provides set functions query PubChem using APIs. first APIs PubChem PUG REST API designed - make specific queries based input identifier return data PubChem labelled computed internally [1]. - API useful querying information specific chemical compound getting standardized PubChem identifier (CID) given chemical name smiles string, getting chemical structure given CID. - provides access wide range data including chemical properties, bioassay data, chemical classification data, given specific identifier. second API PubChem PUG VIEW API designed : - give accesse aggregated annotations given chemical compound [3] mapped data, curated PubChem . - .e provides access annotations external sources UniProt, ChEBI, ChEMBL, given specific identifier.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"setup","dir":"Articles","previous_headings":"","what":"Setup","title":"Querying PubChem","text":"","code":"library(AnnotationGx)"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"mapping-from-chemical-name-to-pubchem-cid","dir":"Articles","previous_headings":"","what":"Mapping from chemical name to PubChem CID","title":"Querying PubChem","text":"main function provided package mapCompound2CID. can pass list compound names get CIDs . possible names multimap CIDs. case ‘Vincaleukoblastine’ query. cases multimapping, usually first entry highest similarity requested drug. subset first occurrence drug name: case compound can’t mapped, NA returned warning issued.","code":"mapCompound2CID(\"aspirin\") #> name cids #> #> 1: aspirin 2244 drugs <- c( \"Aspirin\", \"Erlotinib\", \"Acadesine\", \"Camptothecin\", \"Vincaleukoblastine\", \"Cisplatin\" ) mapCompound2CID(drugs) #> name cids #> #> 1: Aspirin 2244 #> 2: Erlotinib 176870 #> 3: Acadesine 17513 #> 4: Camptothecin 24360 #> 5: Vincaleukoblastine 13342 #> 6: Vincaleukoblastine 241903 #> 7: Vincaleukoblastine 3823887 #> 8: Cisplatin 5702198 mapCompound2CID(drugs, first = TRUE) #> name cids #> #> 1: Aspirin 2244 #> 2: Erlotinib 176870 #> 3: Acadesine 17513 #> 4: Camptothecin 24360 #> 5: Vincaleukoblastine 13342 #> 6: Cisplatin 5702198 (result <- mapCompound2CID(c(drugs, \"non existent compound\", \"another bad compound\"), first = TRUE)) #> [20:57:57] [WARNING] [AnnotationGx::getPubchemCompound] Some queries failed. See the 'failed' object for details. #> name cids #> #> 1: Aspirin 2244 #> 2: Erlotinib 176870 #> 3: Acadesine 17513 #> 4: Camptothecin 24360 #> 5: Vincaleukoblastine 13342 #> 6: Cisplatin 5702198 #> 7: non existent compound NA #> 8: another bad compound NA failed <- attributes(result)$failed # get the list of failed inputs names(failed) #> [1] \"non existent compound\" \"another bad compound\" # get the error message for the failed input print(failed[1]) #> $`non existent compound` #> $`non existent compound`$Code #> [1] \"PUGREST.NotFound\" #> #> $`non existent compound`$Message #> [1] \"No CID found\" #> #> $`non existent compound`$Details #> [1] \"No CID found that matches the given name\""},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"mapping-from-pubchem-cid-to-properties","dir":"Articles","previous_headings":"","what":"Mapping from PubChem CID to Properties","title":"Querying PubChem","text":"CIDs obtained, can used query properties compound. view available properties Pubchem, use getPubchemProperties function. deciding properties query, can use mapCID2Properties function get properties specific CID.","code":"getPubchemProperties() #> name type #> #> 1: CID int #> 2: MolecularFormula string #> 3: MolecularWeight string #> 4: CanonicalSMILES string #> 5: IsomericSMILES string #> 6: InChI string #> 7: InChIKey string #> 8: IUPACName string #> 9: XLogP double #> 10: ExactMass string #> 11: MonoisotopicMass string #> 12: TPSA double #> 13: Complexity int #> 14: Charge int #> 15: HBondDonorCount int #> 16: HBondAcceptorCount int #> 17: RotatableBondCount int #> 18: HeavyAtomCount int #> 19: IsotopeAtomCount int #> 20: AtomStereoCount int #> 21: DefinedAtomStereoCount int #> 22: UndefinedAtomStereoCount int #> 23: BondStereoCount int #> 24: DefinedBondStereoCount int #> 25: UndefinedBondStereoCount int #> 26: CovalentUnitCount int #> 27: Volume3D double #> 28: XStericQuadrupole3D double #> 29: YStericQuadrupole3D double #> 30: ZStericQuadrupole3D double #> 31: FeatureCount3D int #> 32: FeatureAcceptorCount3D int #> 33: FeatureDonorCount3D int #> 34: FeatureAnionCount3D int #> 35: FeatureCationCount3D int #> 36: FeatureRingCount3D int #> 37: FeatureHydrophobeCount3D int #> 38: ConformerModelRMSD3D double #> 39: EffectiveRotorCount3D double #> 40: ConformerCount3D int #> 41: Fingerprint2D base64Binary #> 42: Title string #> 43: PatentCount int #> 44: PatentFamilyCount int #> 45: LiteratureCount int #> name type properties <- c(\"Title\", \"MolecularFormula\", \"InChIKey\", \"MolecularWeight\") # Need to remove NA values from the query as they will cause an error result[!is.na(cids), mapCID2Properties(ids = cids, properties = properties)] #> CID MolecularFormula MolecularWeight InChIKey #> #> 1: 2244 C9H8O4 180.16 BSYNRYMUTXBXSQ-UHFFFAOYSA-N #> 2: 176870 C22H23N3O4 393.4 AAKJLRGGTJKAMG-UHFFFAOYSA-N #> 3: 17513 C9H14N4O5 258.23 RTRQQBHATOEIAF-UUOKFMHZSA-N #> 4: 24360 C20H16N2O4 348.4 VSJKWCGYPAHWDS-FQEVSTJZSA-N #> 5: 13342 C46H58N4O9 811.0 JXLYSJRDGCGARV-CFWMRBGOSA-N #> 6: 5702198 Cl2H6N2Pt 300.05 LXZZYRPGZAFOLE-UHFFFAOYSA-L #> Title #> #> 1: Aspirin #> 2: Erlotinib #> 3: Acadesine #> 4: Camptothecin #> 5: Vinblastine #> 6: azane;dichloroplatinum"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"mapping-from-pubchem-cid-to-annotations","dir":"Articles","previous_headings":"","what":"Mapping from PubChem CID to Annotations","title":"Querying PubChem","text":"Pubchem’s VIEW API provides access annotations external sources UniProt, ChEBI, ChEMBL, given specific identifier. querying annotations, need use exact heading want query. can use getPubchemAnnotationHeadings function get available annotation headings types.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-all-available-annotation-headings","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get ALL available annotation headings:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings() #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 631: Wiley References Compound #> 632: WormBase ID Gene #> 633: WormBase ID Protein #> 634: Xenbase Gene ID Gene #> 635: ZFIN ID Gene"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-annotation-headings-for-a-specific-type","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get annotation headings for a specific type:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings(type = \"Compound\") #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 473: Volatilization from Water/Soil (Complete) Compound #> 474: WHO Essential Medicines Compound #> 475: Wikidata Compound #> 476: Wikipedia Compound #> 477: Wiley References Compound"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-annotation-headings-for-a-specific-heading","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get annotation headings for a specific heading:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings(heading = \"ChEMBL ID\") #> Heading Type #> #> 1: ChEMBL ID Compound"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-annotation-headings-for-a-specific-type-and-heading","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get annotation headings for a specific type and heading:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings(type = \"Compound\", heading = \"CAS\") #> Heading Type #> #> 1: CAS Compound #> 2: Deprecated CAS Compound #> 3: Related CAS Compound"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"query-annotations-for-a-specific-cid-and-heading","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Query annotations for a specific CID and heading","title":"Querying PubChem","text":"can use heading query annotations specific CID.","code":"result[!is.na(cids), CAS := annotatePubchemCompound(cids, \"CAS\")] result #> name cids CAS #> #> 1: Aspirin 2244 50-78-2 #> 2: Erlotinib 176870 183321-74-6 #> 3: Acadesine 17513 2627-69-2 #> 4: Camptothecin 24360 7689-03-4 #> 5: Vincaleukoblastine 13342 865-21-4 #> 6: Cisplatin 5702198 #> 7: non existent compound NA #> 8: another bad compound NA "},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"references","dir":"Articles","previous_headings":"","what":"References","title":"Querying PubChem","text":"PUG REST. PubChem Docs [website]. Retrieved https://pubchemdocs.ncbi.nlm.nih.gov/pug-rest. Kim S, Thiessen PA, Cheng T, Yu B, Bolton EE. update PUG-REST: RESTful interface programmatic access PubChem. Nucleic Acids Res. 2018 July 2; 46(W1):W563-570. doi:10.1093/nar/gky294. PUG VIEW. PubChem Docs [webiste]. Retrieved https://pubchemdocs.ncbi.nlm.nih.gov/pug-view. Kim S, Thiessen PA, Cheng T, Zhang J, Gindulyte , Bolton EE. PUG-View: programmatic access chemical annotations integrated PubChem. J Cheminform. 2019 Aug 9; 11:56. doi:10.1186/s13321-019-0375-2.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Jermiah Joseph. Author, maintainer. Christopher Eeles. Author. Benjamin Haibe-Kains. Author.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Joseph J, Eeles C, Haibe-Kains B (2024). AnnotationGx: AnnotationGx: package building, updating querying annotation database pharmaco-genomic data. R package version 0.0.0.9080, https://bhklab.github.io/AnnotationGx/.","code":"@Manual{, title = {AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data}, author = {Jermiah Joseph and Christopher Eeles and Benjamin Haibe-Kains}, year = {2024}, note = {R package version 0.0.0.9080}, url = {https://bhklab.github.io/AnnotationGx/}, }"},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"AnnotationGx: A package for building, updating and querying an\n annotation database for pharmaco-genomic data","text":"can install github using:","code":"remotes::install_github(\"bhklab/AnnotationGx\", build_manual=TRUE, build_vignettes=TRUE)"},{"path":"https://bhklab.github.io/AnnotationGx/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"AnnotationGx: A package for building, updating and querying an\n annotation database for pharmaco-genomic data","text":"","code":"library(AnnotationGx) help(package=\"AnnotationGx\")"},{"path":"https://bhklab.github.io/AnnotationGx/reference/AnnotationGx-package.html","id":null,"dir":"Reference","previous_headings":"","what":"AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data — AnnotationGx-package","title":"AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data — AnnotationGx-package","text":"package building, updating querying annotation database pharmaco-genomic data. Provides API interfaces various bioinformatic chemoinformatic databases, well set functions curating data using annotations retrieved APIs.","code":""},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/reference/AnnotationGx-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data — AnnotationGx-package","text":"Maintainer: Jermiah Joseph jermiah.joseph@gmail.com Authors: Christopher Eeles christopher.eeles@uhnresearch.ca Benjamin Haibe-Kains benjamin.haibe.kains@utoronto.ca","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":null,"dir":"Reference","previous_headings":"","what":"Annotate PubChem Compound — annotatePubchemCompound","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"function retrieves information PubChem compound based provided compound ID (CID).","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"","code":"annotatePubchemCompound( cids, heading = \"ChEMBL ID\", source = NULL, parse_function = identity, query_only = FALSE, raw = FALSE )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"cids compound ID (CID) PubChem compound. heading type information retrieve. Default \"ChEMBL ID\". source data source use. Default NULL. parse_function custom parsing function process response. Default identity function. query_only Logical indicating whether return query URL . Default FALSE. raw Logical indicating whether return raw response. Default FALSE.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"annotated information PubChem compound.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"","code":"annotatePubchemCompound(cid = 2244) #> [1] \"CHEMBL25\" annotatePubchemCompound(cid = c(2244, 67890), heading = \"CAS\") #> [1] \"50-78-2\" \"407-59-0\""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":null,"dir":"Reference","previous_headings":"","what":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"preprocessed version cell model passports dataset. dataset contains following columns: CMP.model_id, CMP.sampleid, CMP.model_name, CMP.cancer_type_ncit_id, CMP.COSMIC_ID, CMP.BROAD_ID, CMP.CCLE_ID, CMP.RRID. dataset used AnnotationGx package map cell line names various sources Cellosaurus database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"","code":"data(cell_model_passports_models)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"data table 8 columns 1001 rows. CMP.model_id char model id cell line cell model passports dataset. CMP.sample_id char sample id cell line cell model passports dataset. CMP.model_name char name cell line cell model passports dataset. CMP.cancer_type_ncit_id char cancer type ncit id cell line cell model passports dataset. CMP.COSMIC_ID int COSMIC ID cell line cell model passports dataset. CMP.BROAD_ID int BROAD ID cell line cell model passports dataset. CMP.CCLE_ID int CCLE ID cell line cell model passports dataset. CMP.RRID char RRID cell line cell model passports dataset.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"https://cog.sanger.ac.uk/cmp/download/model_list_20240103.csv","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"","code":"data(cell_model_passports_models) head(cell_model_passports_models) #> CMP.model_id CMP.sample_id CMP.model_name CMP.cancer_type_ncit_id #> #> 1: SIDM01774 SIDS01659 PK-59 C3850 #> 2: SIDM00192 SIDS00612 SNU-1033 C9383 #> 3: SIDM01447 SIDS01466 SNU-466 C3058 #> 4: SIDM01554 SIDS01363 IST-MES-2 C45662 #> 5: SIDM01689 SIDS01631 MUTZ-5 C8644 #> 6: SIDM01460 SIDS01493 TM-31 C60781 #> CMP.COSMIC_ID CMP.BROAD_ID CMP.CCLE_ID #> #> 1: ACH-000205 PK59_PANCREAS #> 2: ACH-000286 SNU1033_LARGE_INTESTINE #> 3: ACH-000289 SNU466_CENTRAL_NERVOUS_SYSTEM #> 4: ACH-000331 ISTMES2_PLEURA #> 5: ACH-000492 MUTZ5_HAEMATOPOIETIC_AND_LYMPHOID_TISSUE #> 6: ACH-000592 TM31_CENTRAL_NERVOUS_SYSTEM #> CMP.RRID #> #> 1: CVCL_4897 #> 2: CVCL_5002 #> 3: CVCL_5064 #> 4: CVCL_1312 #> 5: CVCL_1873 #> 6: CVCL_6735"},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":null,"dir":"Reference","previous_headings":"","what":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"Data obtained \"https://ctd2-data.nci.nih.gov/Public/Broad/CTRPv2.0_2015_ctd2_ExpandedDataset/CTRPv2.0_2015_ctd2_ExpandedDataset.zip\" preprocessed get two columns: CTRP.treatmentid CTRP.broad_cpd_id.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"","code":"data(ctrp_treatmentIDs)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"data table 2 columns 545 rows. CTRP.treatmentid char treatment id compounds used experiment. CTRP.broad_cpd_id char broad compound id compounds used experiment.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"https://ctd2-data.nci.nih.gov/Public/Broad/CTRPv2.0_2015_ctd2_ExpandedDataset/CTRPv2.0_2015_ctd2_ExpandedDataset.zip","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"","code":"data(ctrp_treatmentIDs) head(ctrp_treatmentIDs) #> CTRP.treatmentid CTRP.broad_cpd_id #> #> 1: CIL55 BRD-K46556387 #> 2: BRD4132 BRD-K86574132 #> 3: BRD6340 BRD-K35716340 #> 4: ML006 BRD-K89692698 #> 5: Bax channel blocker BRD-A18763547 #> 6: BRD9876 BRD-K89329876"},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":null,"dir":"Reference","previous_headings":"","what":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"preprocessed version sample metadata GDSC dataset. dataset contains following columns: GDSC.Sample_Name, GDSC.BROAD_ID, GDSC.RRID, GDSC.COSMIC_ID, CCLE.sampleid. dataset used AnnotationGx package map cell line names various sources Cellosaurus database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"","code":"data(gdsc_sampleMetadata)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"data table 5 columns 1001 rows. GDSC.Sample_Name char name cell line GDSC dataset. GDSC.COSMIC_ID int COSMIC ID cell line GDSC dataset.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"https://www.cancerrxgene.org/","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"","code":"data(gdsc_sampleMetadata) head(gdsc_sampleMetadata) #> GDSC.Sample_Name GDSC.COSMIC_ID #> #> 1: A253 906794 #> 2: BB30-HNC 753531 #> 3: BB49-HNC 753532 #> 4: BHY 753535 #> 5: BICR10 1290724 #> 6: BICR22 1240121"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":null,"dir":"Reference","previous_headings":"","what":"Get ChEMBL Mechanism — getChemblMechanism","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"function retrieves information mechanism action given ChEMBL ID.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"","code":"getChemblMechanism( chembl.ID, resources = \"mechanism\", field = \"molecule_chembl_id\", filter_type = \"in\", returnURL = FALSE, raw = FALSE )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"chembl.ID ChEMBL ID molecule. resources ChEMBL resource query (default: \"mechanism\"). field field filter (default: \"molecule_chembl_id\"). filter_type filter type use (default: \"\"). returnURL Logical indicating whether return constructed URL (default: FALSE). raw Logical indicating whether return raw response JSON (default: FALSE).","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"data.table containing retrieved mechanism information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"","code":"getChemblMechanism(\"CHEMBL1413\") #> action_type binding_site_comment direct_interaction disease_efficacy #> #> 1: CHELATING AGENT NA 1 1 #> 2: CHELATING AGENT NA 1 1 #> max_phase mec_id #> #> 1: 4 2200 #> 2: 4 2224 #> mechanism_comment #> #> 1: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> 2: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> mechanism_of_action mechanism_refs molecular_mechanism #> #> 1: Iron chelating agent 1 #> 2: Aluminium chelating agent 1 #> molecule_chembl_id parent_molecule_chembl_id record_id selectivity_comment #> #> 1: CHEMBL1413 CHEMBL1413 1343970 NA #> 2: CHEMBL1413 CHEMBL1413 1343970 NA #> site_id target_chembl_id variant_sequence #> #> 1: NA CHEMBL2363058 NA #> 2: NA CHEMBL2366381 NA getChemblMechanism(\"CHEMBL1413\", resources = \"mechanism\", field = \"molecule_chembl_id\", filter_type = \"in\", returnURL = FALSE, raw = FALSE ) #> action_type binding_site_comment direct_interaction disease_efficacy #> #> 1: CHELATING AGENT NA 1 1 #> 2: CHELATING AGENT NA 1 1 #> max_phase mec_id #> #> 1: 4 2200 #> 2: 4 2224 #> mechanism_comment #> #> 1: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> 2: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> mechanism_of_action mechanism_refs molecular_mechanism #> #> 1: Iron chelating agent 1 #> 2: Aluminium chelating agent 1 #> molecule_chembl_id parent_molecule_chembl_id record_id selectivity_comment #> #> 1: CHEMBL1413 CHEMBL1413 1343970 NA #> 2: CHEMBL1413 CHEMBL1413 1343970 NA #> site_id target_chembl_id variant_sequence #> #> 1: NA CHEMBL2363058 NA #> 2: NA CHEMBL2366381 NA"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the fields of a Chembl resource — getChemblResourceFields","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"function retrieves fields Chembl resource.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"","code":"getChemblResourceFields(resource)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"resource Chembl resource.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"character vector containing names fields.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"","code":"getChemblResourceFields(\"molecule\") #> [1] \"atc_classifications\" \"availability_type\" \"biotherapeutic\" #> [4] \"black_box_warning\" \"chebi_par_id\" \"chemical_probe\" #> [7] \"chirality\" \"cross_references\" \"dosed_ingredient\" #> [10] \"first_approval\" \"first_in_class\" \"helm_notation\" #> [13] \"indication_class\" \"inorganic_flag\" \"max_phase\" #> [16] \"molecule_chembl_id\" \"molecule_hierarchy\" \"molecule_properties\" #> [19] \"molecule_structures\" \"molecule_synonyms\" \"molecule_type\" #> [22] \"natural_product\" \"oral\" \"parenteral\" #> [25] \"polymer_flag\" \"pref_name\" \"prodrug\" #> [28] \"score\" \"structure_type\" \"therapeutic_flag\" #> [31] \"topical\" \"usan_stem\" \"usan_stem_definition\" #> [34] \"usan_substem\" \"usan_year\" \"withdrawn_flag\""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeMainTypes.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the main types from the Oncotree database. — getOncotreeMainTypes","title":"Get the main types from the Oncotree database. — getOncotreeMainTypes","text":"function retrieves main types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeMainTypes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the main types from the Oncotree database. — getOncotreeMainTypes","text":"","code":"getOncotreeMainTypes()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeMainTypes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the main types from the Oncotree database. — getOncotreeMainTypes","text":"data.table containing main types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeTumorTypes.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","title":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","text":"function retrieves tumor types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeTumorTypes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","text":"","code":"getOncotreeTumorTypes()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeTumorTypes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","text":"data.table containing tumor types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeVersions.html","id":null,"dir":"Reference","previous_headings":"","what":"Get available Oncotree versions — getOncotreeVersions","title":"Get available Oncotree versions — getOncotreeVersions","text":"function retrieves available versions Oncotree.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeVersions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get available Oncotree versions — getOncotreeVersions","text":"","code":"getOncotreeVersions()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeVersions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get available Oncotree versions — getOncotreeVersions","text":"data.table containing available Oncotree versions.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":null,"dir":"Reference","previous_headings":"","what":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"Get annotation headings (name ) based type heading criteria.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"","code":"getPubchemAnnotationHeadings(type = \"all\", heading = NULL)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"type type annotation headings retrieve. Options include \"Compound\", \"Gene\", \"Taxonomy\", \"Element\", \"Assay\", \"Protein\", \"Cell\", \"Pathway\", \"\" (default). heading specific heading filter results . Defaults NULL, retrieves headings.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"data.table containing annotation headings types.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"","code":"getPubchemAnnotationHeadings() #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 631: Wiley References Compound #> 632: WormBase ID Gene #> 633: WormBase ID Protein #> 634: Xenbase Gene ID Gene #> 635: ZFIN ID Gene getPubchemAnnotationHeadings(type = \"Compound\") #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 473: Volatilization from Water/Soil (Complete) Compound #> 474: WHO Essential Medicines Compound #> 475: Wikidata Compound #> 476: Wikipedia Compound #> 477: Wiley References Compound getPubchemAnnotationHeadings(heading = \"ChEMBL*\") #> Heading Type #> #> 1: ChEMBL Cell Line ID Cell #> 2: ChEMBL ID Compound #> 3: ChEMBL Target ID Protein getPubchemAnnotationHeadings(type = \"Compound\", heading = \"ChEMBL*\") #> Heading Type #> #> 1: ChEMBL ID Compound"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieve PubChem compound information — getPubchemCompound","title":"Retrieve PubChem compound information — getPubchemCompound","text":"function retrieves compound information PubChem using PubChem REST API. Used functions retrieve compound information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieve PubChem compound information — getPubchemCompound","text":"","code":"getPubchemCompound( ids, from = \"cid\", to = \"property\", properties = c(\"Title\", \"InChIKey\"), raw = FALSE, query_only = FALSE, output = \"JSON\", ... )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieve PubChem compound information — getPubchemCompound","text":"ids vector compound identifiers. source namespace compound identifiers. Default 'cid'. target namespace compound information. Default 'property'. properties character vector specifying properties retrieve. raw Logical indicating whether return raw query results. Default FALSE. query_only Logical indicating whether perform query without retrieving results. Default FALSE. output format query results. Default 'JSON'. ... Additional arguments passed query_pubchem_rest function.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieve PubChem compound information — getPubchemCompound","text":"data.table containing retrieved compound information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Retrieve PubChem compound information — getPubchemCompound","text":"","code":"properties <- c(\"Title\", \"MolecularFormula\", \"InChIKey\", \"CanonicalSMILES\") getPubchemCompound(c(3672, 176870), from = \"cid\", to = \"property\", properties = properties) #> CID MolecularFormula CanonicalSMILES #> #> 1: 3672 C13H18O2 CC(C)CC1=CC=C(C=C1)C(C)C(=O)O #> 2: 176870 C22H23N3O4 COCCOC1=C(C=C2C(=C1)C(=NC=N2)NC3=CC=CC(=C3)C#C)OCCOC #> InChIKey Title #> #> 1: HEFNNWSXXWATRW-UHFFFAOYSA-N Ibuprofen #> 2: AAKJLRGGTJKAMG-UHFFFAOYSA-N Erlotinib"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemProperties.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","title":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","text":"function retrieves PubChem XML schema specified URL extracts property information . property information includes name type property.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemProperties.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","text":"","code":"getPubchemProperties()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemProperties.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","text":"data table containing extracted property information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieves the status of a PubChem request — getPubchemStatus","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"function sends request PubChem retrieve status given URL. returns status code , specified, parsed information response.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"","code":"getPubchemStatus( returnMessage = FALSE, printMessage = TRUE, url = \"https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/Aspirin/cids/JSON\" )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"returnMessage Logical indicating whether return parsed information response. printMessage Logical indicating whether print status message. url URL send request . Default \"https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/Aspirin/cids/JSON\".","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"status code response. returnMessage TRUE, parsed information response also returned.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"","code":"getPubchemStatus() #> Throttling status: #> Request Count status: Green (1%) #> Request Time status: Green (0%) #> Service status: Green (13%) getPubchemStatus(returnMessage = TRUE) #> Throttling status: #> Request Count status: Green (1%) #> Request Time status: Green (0%) #> Service status: Green (20%) #> $request_count #> $request_count$status #> [1] \"Green\" #> #> $request_count$percent #> [1] 1 #> #> #> $request_time #> $request_time$status #> [1] \"Green\" #> #> $request_time$percent #> [1] 0 #> #> #> $service #> $service$status #> [1] \"Green\" #> #> $service$percent #> [1] 20 #> #> getPubchemStatus(printMessage = FALSE)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getUnichemSources.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the list of sources in UniChem. — getUnichemSources","title":"Get the list of sources in UniChem. — getUnichemSources","text":"Returns data.table following columns: CompoundCount (integer): Total compounds provided source BaseURL (string): Source Base URL compounds Description (string): Source database description LastUpdated (string): Date source database last updated Name (string): Short name source database NameLabel (string): Machine readable label name source database NameLong (string): Full name source database SourceID (integer): Unique ID source database Details (string): Notes source ReleaseDate (string): Date source database released ReleaseNumber (integer): Release number source database data stored UniChEM URL (string): Main URL source UpdateComments (string): Notes update process source UniChEM","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getUnichemSources.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the list of sources in UniChem. — getUnichemSources","text":"","code":"getUnichemSources()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getUnichemSources.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the list of sources in UniChem. — getUnichemSources","text":"data.table list sources UniChem.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":null,"dir":"Reference","previous_headings":"","what":"Map PubChem Compound IDs to Properties — mapCID2Properties","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"function maps PubChem Compound IDs specified properties using PubChem REST API. See getPubchemProperties list available properties.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"","code":"mapCID2Properties(ids, properties, ...)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"ids vector PubChem Compound IDs. properties vector property names retrieve compound. ... Additional arguments passed getPubchemCompound function.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"data frame containing mapped properties compound.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"","code":"mapCID2Properties(ids = c(123, 456), properties = c(\"MolecularWeight\", \"CanonicalSMILES\")) #> CID MolecularWeight CanonicalSMILES #> #> 1: 123 144.18 C(CC(=O)N)CN=C(N)N #> 2: 456 132.08 C(=O)(C(=O)O)NC(=O)N"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":null,"dir":"Reference","previous_headings":"","what":"Maps cell line names to accession numbers — mapCell2Accession","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"function takes vector cell line names maps accession numbers using Cellosaurus database. performs parallel request retrieve mapping information returns data table results.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"","code":"mapCell2Accession( ids, numResults = 1000, from = \"id\", to = c(\"id\", \"ac\"), prioritizeParent = FALSE, query_only = FALSE, raw = FALSE, BPPARAM = BiocParallel::SerialParam(), ... )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"ids character vector cell line names. numResults number results return query. Default 1. field query . Default \"id\". field query . Default \"id\" \"ac\". prioritizeParent TRUE, prioritizes parent cell line multiple matches found. Default FALSE. prioritizeParent TRUE, multiple matches found cell line name, function prioritize parent cell lines matches. can useful dealing cell line hierarchies parent cell line represents broader category. example trying map using id \"BT474\" returns \"CVCL_YX79\" corresponds \"BT474 A3\" whereas \"BT-474\" exists database \"CVCL_0179\". prioritizeParent TRUE, function prioritize \"CVCL_0179\" \"CVCL_YX79\" since \"BT-474\" parent cell line \"BT474 A3\". query_only TRUE, returns query URL instead results. Default FALSE. raw TRUE, returns raw response instead data table. Default FALSE. BPPARAM BiocParallel parameter object controlling parallelization. ... Additional arguments pass request.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"Depending parameters, either : data.table \"id\", \"ac\", \"query\", \"query:id\" columns. list query URLs query_only TRUE. list raw responses raw TRUE.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"","code":"mapCell2Accession(c(\"A549\", \"HeLa\")) #> id ac query query:id #> #> 1: A549 Cas9 CVCL_DX70 id:A549 A549 #> 2: A549 DHODH-/- CVCL_YZ46 id:A549 A549 #> 3: A549 HIF1A -/-/- CVCL_C3C5 id:A549 A549 #> 4: A549 MX10 CVCL_LB65 id:A549 A549 #> 5: A549 OS8 CVCL_XY99 id:A549 A549 #> --- #> 1120: Abcam HeLa ROCK2 KO CVCL_B2E1 id:HeLa HeLa #> 1121: Abcam HeLa RORC KO CVCL_B2E2 id:HeLa HeLa #> 1122: Abcam HeLa RPL36A KO CVCL_B2E3 id:HeLa HeLa #> 1123: Abcam HeLa RPRM KO CVCL_B2E4 id:HeLa HeLa #> 1124: Abcam HeLa RPS27L KO CVCL_B2E5 id:HeLa HeLa"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":null,"dir":"Reference","previous_headings":"","what":"Map compound names to PubChem CIDs — mapCompound2CID","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"function maps compound names PubChem CIDs using PubChem REST API.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"","code":"mapCompound2CID(names, first = FALSE, ...)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"names character vector compound names. first Logical indicating whether return first CID compound name (default FALSE). ... Additional arguments passed getPubchemCompound function.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"character vector PubChem CIDs.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"","code":"mapCompound2CID(c(\"aspirin\", \"caffeine\")) #> name cids #> #> 1: aspirin 2244 #> 2: caffeine 2519"},{"path":"https://bhklab.github.io/AnnotationGx/reference/options.html","id":null,"dir":"Reference","previous_headings":"","what":"AnnotationGx Options — options","title":"AnnotationGx Options — options","text":"Internally used, package-specific options. options prioritize R options() values, fall back environment variables undefined. neither option environment variable set, default value used.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/options.html","id":"checking-option-values","dir":"Reference","previous_headings":"","what":"Checking Option Values","title":"AnnotationGx Options — options","text":"Option values specific AnnotationGx can accessed passing package name env.","code":"options::opts(env = \"AnnotationGx\") options::opt(x, default, env = \"AnnotationGx\")"},{"path":"https://bhklab.github.io/AnnotationGx/reference/options.html","id":"options","dir":"Reference","previous_headings":"","what":"Options","title":"AnnotationGx Options — options","text":"log_level default: \"WARNING\" option: annotationgx_log_level envvar: ANNOTATIONGX_LOGLEVEL (evaluated possible, raw string otherwise) verbose default: FALSE option: annotationgx_verbose envvar: ANNOTATIONGX_VERBOSE (evaluated possible, raw string otherwise)","code":"\"WARNING\" FALSE"},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":null,"dir":"Reference","previous_headings":"","what":"Query UniChem for a compound. — queryUnichem","title":"Query UniChem for a compound. — queryUnichem","text":"function queries UniChem API compound based provided parameters.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Query UniChem for a compound. — queryUnichem","text":"","code":"queryUnichem( type, compound, sourceID = NA_integer_, request_only = FALSE, raw = FALSE, ... )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query UniChem for a compound. — queryUnichem","text":"type character type compound identifier search . Valid types \"uci\", \"inchi\", \"inchikey\", \"sourceID\". compound character integer compound identifier search . sourceID integer source ID search type \"sourceID\". Defaults NULL. request_only boolean Whether return request . Defaults FALSE. raw boolean Whether return raw response. Defaults FALSE. ... Additional arguments.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Query UniChem for a compound. — queryUnichem","text":"list external mappings UniChem mappings.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Query UniChem for a compound. — queryUnichem","text":"","code":"queryUnichem(type = \"sourceID\", compound = \"444795\", sourceID = 22) #> https://www.ebi.ac.uk/unichem/api/v1/compounds #> • scheme: https #> • hostname: www.ebi.ac.uk #> • path: /unichem/api/v1/compounds #> https://www.ebi.ac.uk/unichem/api/v1/sources #> • scheme: https #> • hostname: www.ebi.ac.uk #> • path: /unichem/api/v1/sources #> #> POST https://www.ebi.ac.uk/unichem/api/v1/compounds #> Body: json encoded data #> Policies: #> • retry_max_tries: 3 #> • error_is_error: a function #> $External_Mappings #> compoundID Name #> #> 1: CHEMBL38 chembl #> 2: DB00755 drugbank #> 3: REA pdb #> 4: 2644 gtopdb #> 5: 12014646 pubchem_dotf #> 6: C00777 kegg_ligand #> 7: 15367 chebi #> 8: SAM002264647 nih_ncc #> 9: ZINC000012358651 zinc #> 10: 1934590 emolecules #> 11: tretinoin atlas #> 12: retinoic acid atlas #> 13: all-trans retinoic acid atlas #> 14: 9-cis retinoic-acid atlas #> 15: 5688UTC01R fdasrs #> 16: SCHEMBL19091395 surechembl #> 17: SCHEMBL3145 surechembl #> 18: PA164746900 pharmgkb #> 19: HMDB0001852 hmdb #> 20: Tretinoin(Aberela) selleck #> 21: 14849563 pubchem_tpharma #> 22: 14825303 pubchem_tpharma #> 23: 444795 pubchem #> 24: 60021090 nmrshiftdb2 #> 25: LSM-42854 lincs #> 26: 4759-48-2 actor #> 27: 302-79-4 actor #> 28: 187175-63-9 actor #> 29: MolPort-000-883-857 molport #> 30: J2.378.058E nikkaji #> 31: J1.313.469C nikkaji #> 32: J623.910B nikkaji #> 33: J970.183D nikkaji #> 34: J1.518K nikkaji #> 35: J494.243D nikkaji #> 36: J690.379G nikkaji #> 37: J646.157C nikkaji #> 38: J646.158A nikkaji #> 39: J528.606I nikkaji #> 40: 323588 bindingdb #> 41: 31883 bindingdb #> 42: DTXSID7021239 comptox #> 43: LMPR01090019 lipidmaps #> 44: 2722 drugcentral #> 45: MTBLC15367 metabolights #> 46: 6481 brenda #> 47: 12679 brenda #> 48: 21231 brenda #> 49: 2354 brenda #> 50: 5126 brenda #> 51: 193381 brenda #> 52: 260365 brenda #> 53: CB6222631 chemicalbook #> 54: TRETINOIN dailymed #> 55: EUDYNA clinicaltrials #> 56: TRETINOIN clinicaltrials #> 57: ABEREL clinicaltrials #> 58: RENOVA clinicaltrials #> 59: AVITA clinicaltrials #> 60: NSC-122758 clinicaltrials #> 61: VESANOID clinicaltrials #> 62: RETIN A clinicaltrials #> 63: RETIN-A clinicaltrials #> 64: RETINOIC ACID clinicaltrials #> 65: ALTRENO clinicaltrials #> 66: RENOVA rxnorm #> 67: AVITA rxnorm #> 68: TRETINOIN MICROSPHERE rxnorm #> 69: RETIN-A rxnorm #> 70: TRETINOIN rxnorm #> 71: ACTICIN rxnorm #> 72: ATRALIN rxnorm #> 73: ALTRENO rxnorm #> 74: HY-14649 MedChemExpress #> 75: PD001430 probes_and_drugs #> compoundID Name #> NameLong sourceID #> #> 1: ChEMBL 1 #> 2: DrugBank 2 #> 3: PDBe (Protein Data Bank Europe) 3 #> 4: Guide to Pharmacology 4 #> 5: PubChem ('Drugs of the Future' subset) 5 #> 6: KEGG (Kyoto Encyclopedia of Genes and Genomes) Ligand 6 #> 7: ChEBI (Chemical Entities of Biological Interest). 7 #> 8: NIH Clinical Collection 8 #> 9: ZINC 9 #> 10: eMolecules 10 #> 11: Gene Expression Atlas 12 #> 12: Gene Expression Atlas 12 #> 13: Gene Expression Atlas 12 #> 14: Gene Expression Atlas 12 #> 15: FDA/USP Substance Registration System (SRS) 14 #> 16: SureChEMBL 15 #> 17: SureChEMBL 15 #> 18: PharmGKB 17 #> 19: Human Metabolome Database (HMDB) 18 #> 20: Selleck 20 #> 21: PubChem ('Thomson Pharma' subset) 21 #> 22: PubChem ('Thomson Pharma' subset) 21 #> 23: PubChem Compounds 22 #> 24: NMRShiftDB 24 #> 25: Library of Integrated Network-based Cellular Signatures 25 #> 26: ACToR 26 #> 27: ACToR 26 #> 28: ACToR 26 #> 29: MolPort 28 #> 30: Nikkaji 29 #> 31: Nikkaji 29 #> 32: Nikkaji 29 #> 33: Nikkaji 29 #> 34: Nikkaji 29 #> 35: Nikkaji 29 #> 36: Nikkaji 29 #> 37: Nikkaji 29 #> 38: Nikkaji 29 #> 39: Nikkaji 29 #> 40: BindingDB 31 #> 41: BindingDB 31 #> 42: EPA (Environmental Protection Agency) CompTox Dashboard 32 #> 43: LipidMaps 33 #> 44: DrugCentral 34 #> 45: Metabolights 36 #> 46: Brenda 37 #> 47: Brenda 37 #> 48: Brenda 37 #> 49: Brenda 37 #> 50: Brenda 37 #> 51: Brenda 37 #> 52: Brenda 37 #> 53: ChemicalBook 39 #> 54: DailyMed 45 #> 55: clinicaltrials 46 #> 56: clinicaltrials 46 #> 57: clinicaltrials 46 #> 58: clinicaltrials 46 #> 59: clinicaltrials 46 #> 60: clinicaltrials 46 #> 61: clinicaltrials 46 #> 62: clinicaltrials 46 #> 63: clinicaltrials 46 #> 64: clinicaltrials 46 #> 65: clinicaltrials 46 #> 66: rxnorm 47 #> 67: rxnorm 47 #> 68: rxnorm 47 #> 69: rxnorm 47 #> 70: rxnorm 47 #> 71: rxnorm 47 #> 72: rxnorm 47 #> 73: rxnorm 47 #> 74: MedChemExpress 48 #> 75: Probes And Drugs 49 #> NameLong sourceID #> sourcURL #> #> 1: https://www.ebi.ac.uk/chembldb/compound/inspect/CHEMBL38 #> 2: http://www.drugbank.ca/drugs/DB00755 #> 3: http://www.ebi.ac.uk/pdbe-srv/pdbechem/chemicalCompound/show/REA #> 4: http://www.guidetopharmacology.org/GRAC/LigandDisplayForward?ligandId=2644 #> 5: http://pubchem.ncbi.nlm.nih.gov/substance/12014646 #> 6: http://www.genome.jp/dbget-bin/www_bget?C00777 #> 7: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI%3A15367 #> 8: SAM002264647 #> 9: http://zinc15.docking.org/substances/ZINC000012358651 #> 10: https://www.emolecules.com/cgi-bin/more?vid=1934590 #> 11: http://www.ebi.ac.uk/gxa/query?conditionQuery=tretinoin #> 12: http://www.ebi.ac.uk/gxa/query?conditionQuery=retinoic acid #> 13: http://www.ebi.ac.uk/gxa/query?conditionQuery=all-trans retinoic acid #> 14: http://www.ebi.ac.uk/gxa/query?conditionQuery=9-cis retinoic-acid #> 15: https://precision.fda.gov/uniisearch/srs/unii/5688UTC01R #> 16: https://www.surechembl.org/chemical/SCHEMBL19091395 #> 17: https://www.surechembl.org/chemical/SCHEMBL3145 #> 18: https://www.pharmgkb.org/drug/PA164746900 #> 19: http://www.hmdb.ca/metabolites/HMDB0001852 #> 20: http://www.selleckchem.com/products/Tretinoin(Aberela).html #> 21: http://pubchem.ncbi.nlm.nih.gov/substance/14849563 #> 22: http://pubchem.ncbi.nlm.nih.gov/substance/14825303 #> 23: http://pubchem.ncbi.nlm.nih.gov/compound/444795 #> 24: http://nmrshiftdb.org/molecule/60021090 #> 25: http://identifiers.org/lincs.smallmolecule/LSM-42854 #> 26: http://actor.epa.gov/actor/chemical.xhtml?casrn=4759-48-2 #> 27: http://actor.epa.gov/actor/chemical.xhtml?casrn=302-79-4 #> 28: http://actor.epa.gov/actor/chemical.xhtml?casrn=187175-63-9 #> 29: https://www.molport.com/shop/molecule-link/MolPort-000-883-857 #> 30: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J2.378.058E #> 31: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J1.313.469C #> 32: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J623.910B #> 33: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J970.183D #> 34: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J1.518K #> 35: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J494.243D #> 36: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J690.379G #> 37: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J646.157C #> 38: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J646.158A #> 39: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J528.606I #> 40: http://www.bindingdb.org/bind/chemsearch/marvin/MolStructure.jsp?monomerid=323588 #> 41: http://www.bindingdb.org/bind/chemsearch/marvin/MolStructure.jsp?monomerid=31883 #> 42: https://comptox.epa.gov/dashboard/DTXSID7021239 #> 43: http://www.lipidmaps.org/data/LMSDRecord.php?LMID=LMPR01090019 #> 44: http://drugcentral.org/drugcard/2722 #> 45: http://www.ebi.ac.uk/metabolights/MTBLC15367 #> 46: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=6481 #> 47: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=12679 #> 48: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=21231 #> 49: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=2354 #> 50: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=5126 #> 51: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=193381 #> 52: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=260365 #> 53: https://www.chemicalbook.com/ChemicalProductProperty_EN_CB6222631 #> 54: https://dailymed.nlm.nih.gov/dailymed/search.cfm?adv=1&labeltype=human&query=ACTIVEMOIETY:(TRETINOIN)+OR+INGREDIENT:(TRETINOIN) #> 55: https://www.clinicaltrials.gov/ct2/results?cond=&term=EUDYNA #> 56: https://www.clinicaltrials.gov/ct2/results?cond=&term=TRETINOIN #> 57: https://www.clinicaltrials.gov/ct2/results?cond=&term=ABEREL #> 58: https://www.clinicaltrials.gov/ct2/results?cond=&term=RENOVA #> 59: https://www.clinicaltrials.gov/ct2/results?cond=&term=AVITA #> 60: https://www.clinicaltrials.gov/ct2/results?cond=&term=NSC-122758 #> 61: https://www.clinicaltrials.gov/ct2/results?cond=&term=VESANOID #> 62: https://www.clinicaltrials.gov/ct2/results?cond=&term=RETIN A #> 63: https://www.clinicaltrials.gov/ct2/results?cond=&term=RETIN-A #> 64: https://www.clinicaltrials.gov/ct2/results?cond=&term=RETINOIC ACID #> 65: https://www.clinicaltrials.gov/ct2/results?cond=&term=ALTRENO #> 66: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=846950 #> 67: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=215492 #> 68: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=221175 #> 69: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=153101 #> 70: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=10753 #> 71: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=214998 #> 72: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=728470 #> 73: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=2055004 #> 74: https://www.medchemexpress.com/HY-14649 #> 75: https://www.probes-drugs.org/compound/PD001430 #> sourcURL #> #> $UniChem_Mappings #> $UniChem_Mappings$UniChem.UCI #> [1] 538323 #> #> $UniChem_Mappings$UniChem.InchiKey #> [1] \"SHGAZHPCJJPHSC-YCNIQYBTSA-N\" #> #> $UniChem_Mappings$UniChem.Inchi #> [1] \"InChI=1S/C20H28O2/c1-15(8-6-9-16(2)14-19(21)22)11-12-18-17(3)10-7-13-20(18,4)5/h6,8-9,11-12,14H,7,10,13H2,1-5H3,(H,21,22)/b9-6+,12-11+,15-8+,16-14+\" #> #> $UniChem_Mappings$UniChem.formula #> [1] \"C20H28O2\" #> #> $UniChem_Mappings$UniChem.connections #> [1] \"1-15(8-6-9-16(2)14-19(21)22)11-12-18-17(3)10-7-13-20(18,4)5\" #> #> $UniChem_Mappings$UniChem.hAtoms #> [1] \"6,8-9,11-12,14H,7,10,13H2,1-5H3,(H,21,22)\" #> #>"},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":null,"dir":"Reference","previous_headings":"","what":"Standardize Names — standardize_names","title":"Standardize Names — standardize_names","text":"function takes character vector standardizes names converting lowercase, removing trailing information comma, removing information within square brackets parentheses, removing non-alphanumeric characters, replacing empty names \"invalid\", converting names uppercase.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Standardize Names — standardize_names","text":"","code":"standardize_names(object)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Standardize Names — standardize_names","text":"object character vector containing names standardized.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Standardize Names — standardize_names","text":"character vector standardized names.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Standardize Names — standardize_names","text":"","code":"standardize_names(c(\"John Doe\", \"Jane Smith (Manager)\", \"Alice, PhD\")) #> [1] \"JOHNDOE\" \"JANESMITH\" \"ALICE\" # Output: [1] \"JOHNDOE\" \"JANESMITH\" \"ALICE\""},{"path":"https://bhklab.github.io/AnnotationGx/news/index.html","id":"annotationgx-development-version","dir":"Changelog","previous_headings":"","what":"AnnotationGx (development version)","title":"AnnotationGx (development version)","text":"Initial CRAN submission.","code":""}] +[{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"GNU General Public License","title":"GNU General Public License","text":"Version 3, 29 June 2007Copyright © 2007 Free Software Foundation, Inc.  Everyone permitted copy distribute verbatim copies license document, changing allowed.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"preamble","dir":"","previous_headings":"","what":"Preamble","title":"GNU General Public License","text":"GNU General Public License free, copyleft license software kinds works. licenses software practical works designed take away freedom share change works. contrast, GNU General Public License intended guarantee freedom share change versions program–make sure remains free software users. , Free Software Foundation, use GNU General Public License software; applies also work released way authors. can apply programs, . speak free software, referring freedom, price. General Public Licenses designed make sure freedom distribute copies free software (charge wish), receive source code can get want , can change software use pieces new free programs, know can things. protect rights, need prevent others denying rights asking surrender rights. Therefore, certain responsibilities distribute copies software, modify : responsibilities respect freedom others. example, distribute copies program, whether gratis fee, must pass recipients freedoms received. must make sure , , receive can get source code. must show terms know rights. Developers use GNU GPL protect rights two steps: (1) assert copyright software, (2) offer License giving legal permission copy, distribute /modify . developers’ authors’ protection, GPL clearly explains warranty free software. users’ authors’ sake, GPL requires modified versions marked changed, problems attributed erroneously authors previous versions. devices designed deny users access install run modified versions software inside , although manufacturer can . fundamentally incompatible aim protecting users’ freedom change software. systematic pattern abuse occurs area products individuals use, precisely unacceptable. Therefore, designed version GPL prohibit practice products. problems arise substantially domains, stand ready extend provision domains future versions GPL, needed protect freedom users. Finally, every program threatened constantly software patents. States allow patents restrict development use software general-purpose computers, , wish avoid special danger patents applied free program make effectively proprietary. prevent , GPL assures patents used render program non-free. precise terms conditions copying, distribution modification follow.","code":""},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_0-definitions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"0. Definitions","title":"GNU General Public License","text":"“License” refers version 3 GNU General Public License. “Copyright” also means copyright-like laws apply kinds works, semiconductor masks. “Program” refers copyrightable work licensed License. licensee addressed “”. “Licensees” “recipients” may individuals organizations. “modify” work means copy adapt part work fashion requiring copyright permission, making exact copy. resulting work called “modified version” earlier work work “based ” earlier work. “covered work” means either unmodified Program work based Program. “propagate” work means anything , without permission, make directly secondarily liable infringement applicable copyright law, except executing computer modifying private copy. Propagation includes copying, distribution (without modification), making available public, countries activities well. “convey” work means kind propagation enables parties make receive copies. Mere interaction user computer network, transfer copy, conveying. interactive user interface displays “Appropriate Legal Notices” extent includes convenient prominently visible feature (1) displays appropriate copyright notice, (2) tells user warranty work (except extent warranties provided), licensees may convey work License, view copy License. interface presents list user commands options, menu, prominent item list meets criterion.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_1-source-code","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"1. Source Code","title":"GNU General Public License","text":"“source code” work means preferred form work making modifications . “Object code” means non-source form work. “Standard Interface” means interface either official standard defined recognized standards body, , case interfaces specified particular programming language, one widely used among developers working language. “System Libraries” executable work include anything, work whole, () included normal form packaging Major Component, part Major Component, (b) serves enable use work Major Component, implement Standard Interface implementation available public source code form. “Major Component”, context, means major essential component (kernel, window system, ) specific operating system () executable work runs, compiler used produce work, object code interpreter used run . “Corresponding Source” work object code form means source code needed generate, install, (executable work) run object code modify work, including scripts control activities. However, include work’s System Libraries, general-purpose tools generally available free programs used unmodified performing activities part work. example, Corresponding Source includes interface definition files associated source files work, source code shared libraries dynamically linked subprograms work specifically designed require, intimate data communication control flow subprograms parts work. Corresponding Source need include anything users can regenerate automatically parts Corresponding Source. Corresponding Source work source code form work.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_2-basic-permissions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"2. Basic Permissions","title":"GNU General Public License","text":"rights granted License granted term copyright Program, irrevocable provided stated conditions met. License explicitly affirms unlimited permission run unmodified Program. output running covered work covered License output, given content, constitutes covered work. License acknowledges rights fair use equivalent, provided copyright law. may make, run propagate covered works convey, without conditions long license otherwise remains force. may convey covered works others sole purpose make modifications exclusively , provide facilities running works, provided comply terms License conveying material control copyright. thus making running covered works must exclusively behalf, direction control, terms prohibit making copies copyrighted material outside relationship . Conveying circumstances permitted solely conditions stated . Sublicensing allowed; section 10 makes unnecessary.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_3-protecting-users-legal-rights-from-anti-circumvention-law","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"3. Protecting Users’ Legal Rights From Anti-Circumvention Law","title":"GNU General Public License","text":"covered work shall deemed part effective technological measure applicable law fulfilling obligations article 11 WIPO copyright treaty adopted 20 December 1996, similar laws prohibiting restricting circumvention measures. convey covered work, waive legal power forbid circumvention technological measures extent circumvention effected exercising rights License respect covered work, disclaim intention limit operation modification work means enforcing, work’s users, third parties’ legal rights forbid circumvention technological measures.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_4-conveying-verbatim-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"4. Conveying Verbatim Copies","title":"GNU General Public License","text":"may convey verbatim copies Program’s source code receive , medium, provided conspicuously appropriately publish copy appropriate copyright notice; keep intact notices stating License non-permissive terms added accord section 7 apply code; keep intact notices absence warranty; give recipients copy License along Program. may charge price price copy convey, may offer support warranty protection fee.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_5-conveying-modified-source-versions","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"5. Conveying Modified Source Versions","title":"GNU General Public License","text":"may convey work based Program, modifications produce Program, form source code terms section 4, provided also meet conditions: ) work must carry prominent notices stating modified , giving relevant date. b) work must carry prominent notices stating released License conditions added section 7. requirement modifies requirement section 4 “keep intact notices”. c) must license entire work, whole, License anyone comes possession copy. License therefore apply, along applicable section 7 additional terms, whole work, parts, regardless packaged. License gives permission license work way, invalidate permission separately received . d) work interactive user interfaces, must display Appropriate Legal Notices; however, Program interactive interfaces display Appropriate Legal Notices, work need make . compilation covered work separate independent works, nature extensions covered work, combined form larger program, volume storage distribution medium, called “aggregate” compilation resulting copyright used limit access legal rights compilation’s users beyond individual works permit. Inclusion covered work aggregate cause License apply parts aggregate.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_6-conveying-non-source-forms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"6. Conveying Non-Source Forms","title":"GNU General Public License","text":"may convey covered work object code form terms sections 4 5, provided also convey machine-readable Corresponding Source terms License, one ways: ) Convey object code , embodied , physical product (including physical distribution medium), accompanied Corresponding Source fixed durable physical medium customarily used software interchange. b) Convey object code , embodied , physical product (including physical distribution medium), accompanied written offer, valid least three years valid long offer spare parts customer support product model, give anyone possesses object code either (1) copy Corresponding Source software product covered License, durable physical medium customarily used software interchange, price reasonable cost physically performing conveying source, (2) access copy Corresponding Source network server charge. c) Convey individual copies object code copy written offer provide Corresponding Source. alternative allowed occasionally noncommercially, received object code offer, accord subsection 6b. d) Convey object code offering access designated place (gratis charge), offer equivalent access Corresponding Source way place charge. need require recipients copy Corresponding Source along object code. place copy object code network server, Corresponding Source may different server (operated third party) supports equivalent copying facilities, provided maintain clear directions next object code saying find Corresponding Source. Regardless server hosts Corresponding Source, remain obligated ensure available long needed satisfy requirements. e) Convey object code using peer--peer transmission, provided inform peers object code Corresponding Source work offered general public charge subsection 6d. separable portion object code, whose source code excluded Corresponding Source System Library, need included conveying object code work. “User Product” either (1) “consumer product”, means tangible personal property normally used personal, family, household purposes, (2) anything designed sold incorporation dwelling. determining whether product consumer product, doubtful cases shall resolved favor coverage. particular product received particular user, “normally used” refers typical common use class product, regardless status particular user way particular user actually uses, expects expected use, product. product consumer product regardless whether product substantial commercial, industrial non-consumer uses, unless uses represent significant mode use product. “Installation Information” User Product means methods, procedures, authorization keys, information required install execute modified versions covered work User Product modified version Corresponding Source. information must suffice ensure continued functioning modified object code case prevented interfered solely modification made. convey object code work section , , specifically use , User Product, conveying occurs part transaction right possession use User Product transferred recipient perpetuity fixed term (regardless transaction characterized), Corresponding Source conveyed section must accompanied Installation Information. requirement apply neither third party retains ability install modified object code User Product (example, work installed ROM). requirement provide Installation Information include requirement continue provide support service, warranty, updates work modified installed recipient, User Product modified installed. Access network may denied modification materially adversely affects operation network violates rules protocols communication across network. Corresponding Source conveyed, Installation Information provided, accord section must format publicly documented (implementation available public source code form), must require special password key unpacking, reading copying.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_7-additional-terms","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"7. Additional Terms","title":"GNU General Public License","text":"“Additional permissions” terms supplement terms License making exceptions one conditions. Additional permissions applicable entire Program shall treated though included License, extent valid applicable law. additional permissions apply part Program, part may used separately permissions, entire Program remains governed License without regard additional permissions. convey copy covered work, may option remove additional permissions copy, part . (Additional permissions may written require removal certain cases modify work.) may place additional permissions material, added covered work, can give appropriate copyright permission. Notwithstanding provision License, material add covered work, may (authorized copyright holders material) supplement terms License terms: ) Disclaiming warranty limiting liability differently terms sections 15 16 License; b) Requiring preservation specified reasonable legal notices author attributions material Appropriate Legal Notices displayed works containing ; c) Prohibiting misrepresentation origin material, requiring modified versions material marked reasonable ways different original version; d) Limiting use publicity purposes names licensors authors material; e) Declining grant rights trademark law use trade names, trademarks, service marks; f) Requiring indemnification licensors authors material anyone conveys material (modified versions ) contractual assumptions liability recipient, liability contractual assumptions directly impose licensors authors. non-permissive additional terms considered “restrictions” within meaning section 10. Program received , part , contains notice stating governed License along term restriction, may remove term. license document contains restriction permits relicensing conveying License, may add covered work material governed terms license document, provided restriction survive relicensing conveying. add terms covered work accord section, must place, relevant source files, statement additional terms apply files, notice indicating find applicable terms. Additional terms, permissive non-permissive, may stated form separately written license, stated exceptions; requirements apply either way.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_8-termination","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"8. Termination","title":"GNU General Public License","text":"may propagate modify covered work except expressly provided License. attempt otherwise propagate modify void, automatically terminate rights License (including patent licenses granted third paragraph section 11). However, cease violation License, license particular copyright holder reinstated () provisionally, unless copyright holder explicitly finally terminates license, (b) permanently, copyright holder fails notify violation reasonable means prior 60 days cessation. Moreover, license particular copyright holder reinstated permanently copyright holder notifies violation reasonable means, first time received notice violation License (work) copyright holder, cure violation prior 30 days receipt notice. Termination rights section terminate licenses parties received copies rights License. rights terminated permanently reinstated, qualify receive new licenses material section 10.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_9-acceptance-not-required-for-having-copies","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"9. Acceptance Not Required for Having Copies","title":"GNU General Public License","text":"required accept License order receive run copy Program. Ancillary propagation covered work occurring solely consequence using peer--peer transmission receive copy likewise require acceptance. However, nothing License grants permission propagate modify covered work. actions infringe copyright accept License. Therefore, modifying propagating covered work, indicate acceptance License .","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_10-automatic-licensing-of-downstream-recipients","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"10. Automatic Licensing of Downstream Recipients","title":"GNU General Public License","text":"time convey covered work, recipient automatically receives license original licensors, run, modify propagate work, subject License. responsible enforcing compliance third parties License. “entity transaction” transaction transferring control organization, substantially assets one, subdividing organization, merging organizations. propagation covered work results entity transaction, party transaction receives copy work also receives whatever licenses work party’s predecessor interest give previous paragraph, plus right possession Corresponding Source work predecessor interest, predecessor can get reasonable efforts. may impose restrictions exercise rights granted affirmed License. example, may impose license fee, royalty, charge exercise rights granted License, may initiate litigation (including cross-claim counterclaim lawsuit) alleging patent claim infringed making, using, selling, offering sale, importing Program portion .","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_11-patents","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"11. Patents","title":"GNU General Public License","text":"“contributor” copyright holder authorizes use License Program work Program based. work thus licensed called contributor’s “contributor version”. contributor’s “essential patent claims” patent claims owned controlled contributor, whether already acquired hereafter acquired, infringed manner, permitted License, making, using, selling contributor version, include claims infringed consequence modification contributor version. purposes definition, “control” includes right grant patent sublicenses manner consistent requirements License. contributor grants non-exclusive, worldwide, royalty-free patent license contributor’s essential patent claims, make, use, sell, offer sale, import otherwise run, modify propagate contents contributor version. following three paragraphs, “patent license” express agreement commitment, however denominated, enforce patent (express permission practice patent covenant sue patent infringement). “grant” patent license party means make agreement commitment enforce patent party. convey covered work, knowingly relying patent license, Corresponding Source work available anyone copy, free charge terms License, publicly available network server readily accessible means, must either (1) cause Corresponding Source available, (2) arrange deprive benefit patent license particular work, (3) arrange, manner consistent requirements License, extend patent license downstream recipients. “Knowingly relying” means actual knowledge , patent license, conveying covered work country, recipient’s use covered work country, infringe one identifiable patents country reason believe valid. , pursuant connection single transaction arrangement, convey, propagate procuring conveyance , covered work, grant patent license parties receiving covered work authorizing use, propagate, modify convey specific copy covered work, patent license grant automatically extended recipients covered work works based . patent license “discriminatory” include within scope coverage, prohibits exercise , conditioned non-exercise one rights specifically granted License. may convey covered work party arrangement third party business distributing software, make payment third party based extent activity conveying work, third party grants, parties receive covered work , discriminatory patent license () connection copies covered work conveyed (copies made copies), (b) primarily connection specific products compilations contain covered work, unless entered arrangement, patent license granted, prior 28 March 2007. Nothing License shall construed excluding limiting implied license defenses infringement may otherwise available applicable patent law.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_12-no-surrender-of-others-freedom","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"12. No Surrender of Others’ Freedom","title":"GNU General Public License","text":"conditions imposed (whether court order, agreement otherwise) contradict conditions License, excuse conditions License. convey covered work satisfy simultaneously obligations License pertinent obligations, consequence may convey . example, agree terms obligate collect royalty conveying convey Program, way satisfy terms License refrain entirely conveying Program.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_13-use-with-the-gnu-affero-general-public-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"13. Use with the GNU Affero General Public License","title":"GNU General Public License","text":"Notwithstanding provision License, permission link combine covered work work licensed version 3 GNU Affero General Public License single combined work, convey resulting work. terms License continue apply part covered work, special requirements GNU Affero General Public License, section 13, concerning interaction network apply combination .","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_14-revised-versions-of-this-license","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"14. Revised Versions of this License","title":"GNU General Public License","text":"Free Software Foundation may publish revised /new versions GNU General Public License time time. new versions similar spirit present version, may differ detail address new problems concerns. version given distinguishing version number. Program specifies certain numbered version GNU General Public License “later version” applies , option following terms conditions either numbered version later version published Free Software Foundation. Program specify version number GNU General Public License, may choose version ever published Free Software Foundation. Program specifies proxy can decide future versions GNU General Public License can used, proxy’s public statement acceptance version permanently authorizes choose version Program. Later license versions may give additional different permissions. However, additional obligations imposed author copyright holder result choosing follow later version.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_15-disclaimer-of-warranty","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"15. Disclaimer of Warranty","title":"GNU General Public License","text":"WARRANTY PROGRAM, EXTENT PERMITTED APPLICABLE LAW. EXCEPT OTHERWISE STATED WRITING COPYRIGHT HOLDERS /PARTIES PROVIDE PROGRAM “” WITHOUT WARRANTY KIND, EITHER EXPRESSED IMPLIED, INCLUDING, LIMITED , IMPLIED WARRANTIES MERCHANTABILITY FITNESS PARTICULAR PURPOSE. ENTIRE RISK QUALITY PERFORMANCE PROGRAM . PROGRAM PROVE DEFECTIVE, ASSUME COST NECESSARY SERVICING, REPAIR CORRECTION.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_16-limitation-of-liability","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"16. Limitation of Liability","title":"GNU General Public License","text":"EVENT UNLESS REQUIRED APPLICABLE LAW AGREED WRITING COPYRIGHT HOLDER, PARTY MODIFIES /CONVEYS PROGRAM PERMITTED , LIABLE DAMAGES, INCLUDING GENERAL, SPECIAL, INCIDENTAL CONSEQUENTIAL DAMAGES ARISING USE INABILITY USE PROGRAM (INCLUDING LIMITED LOSS DATA DATA RENDERED INACCURATE LOSSES SUSTAINED THIRD PARTIES FAILURE PROGRAM OPERATE PROGRAMS), EVEN HOLDER PARTY ADVISED POSSIBILITY DAMAGES.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"id_17-interpretation-of-sections-15-and-16","dir":"","previous_headings":"TERMS AND CONDITIONS","what":"17. Interpretation of Sections 15 and 16","title":"GNU General Public License","text":"disclaimer warranty limitation liability provided given local legal effect according terms, reviewing courts shall apply local law closely approximates absolute waiver civil liability connection Program, unless warranty assumption liability accompanies copy Program return fee. END TERMS CONDITIONS","code":""},{"path":"https://bhklab.github.io/AnnotationGx/LICENSE.html","id":"how-to-apply-these-terms-to-your-new-programs","dir":"","previous_headings":"","what":"How to Apply These Terms to Your New Programs","title":"GNU General Public License","text":"develop new program, want greatest possible use public, best way achieve make free software everyone can redistribute change terms. , attach following notices program. safest attach start source file effectively state exclusion warranty; file least “copyright” line pointer full notice found. Also add information contact electronic paper mail. program terminal interaction, make output short notice like starts interactive mode: hypothetical commands show w show c show appropriate parts General Public License. course, program’s commands might different; GUI interface, use “box”. also get employer (work programmer) school, , sign “copyright disclaimer” program, necessary. information , apply follow GNU GPL, see . GNU General Public License permit incorporating program proprietary programs. program subroutine library, may consider useful permit linking proprietary applications library. want , use GNU Lesser General Public License instead License. first, please read .","code":" Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free software, and you are welcome to redistribute it under certain conditions; type 'show c' for details."},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"introduction","dir":"Articles","previous_headings":"","what":"Introduction","title":"Querying Cellosaurus","text":"Cellosaurus comprehensive knowledge resource dedicated cell lines, providing wealth information various types cells used biomedical research. serves centralized repository offers detailed data cell lines, including origins, characteristics, authentication methods, references, . Please view Cellosaurus website https://web.expasy.org/cellosaurus/ information detailed description can found https://www.cellosaurus.org/description.html. AnnotationGx package provides wrapper around Cellosaurus API map cell line identifiers Cellosaurus database fields.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"setup","dir":"Articles","previous_headings":"Introduction","what":"Setup","title":"Querying Cellosaurus","text":"","code":"library(AnnotationGx) library(data.table)"},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"mapping-from-cell-line-name-to-accession-id","dir":"Articles","previous_headings":"Introduction","what":"Mapping from Cell Line name to Accession id","title":"Querying Cellosaurus","text":"main function provided package mapCell2Accession. function takes vector cell line identifiers returns data.table. Let’s see can use function map “HeLa” “A549” cell line names Cellosaurus database. default, function try map using common identifier (=\"id\") name return standard identifier id Cellosaurus accession ID ac. function also returns two additional columns query query:<> can used identify original query original identifier type needed.","code":"Usage and default values: mapCell2Accession( ids, numResults = 1000, from = \"id\", to = c(\"id\", \"ac\"), prioritizeParent = FALSE, orderby = \"ac\", query_only = FALSE, raw = FALSE, BPPARAM = BiocParallel::SerialParam(), ... ) mapCell2Accession(\"hela\", numResults = 1) #> id ac query query:id #> #> 1: HeLa CVCL_0030 id:hela hela"},{"path":"https://bhklab.github.io/AnnotationGx/articles/Cellosaurus.html","id":"misspelled-or-non-standard-cell-line-names","dir":"Articles","previous_headings":"Introduction","what":"misspelled or non-standard cell line names","title":"Querying Cellosaurus","text":"Sometimes cell line name might misspelled might standard name. case query “A549” way. main identifier A549 cell line “-549” accesion id “CVCL_0023” appear even first 10 results (40th result adjust numResults parameter) manually adjust every query match standard name, feasible hundreds cell lines. ways deal issue. first method based reasoning many cell lines derived parent cell line. deal issue, can use prioritizeParent argument. argument use parent cell line returned result prioritize results based accession id parent cell line. Another example using BT474 cell line.","code":"# our query: mapCell2Accession(\"A549\", from = \"id\", numResults = 1) #> id ac query query:id #> #> 1: A549 Cas9 CVCL_DX70 id:A549 A549 # if we use the actual standard name: mapCell2Accession(\"A-549\", from = \"id\", numResults = 1) #> id ac query query:id #> #> 1: A-549 CVCL_0023 id:A-549 A-549 # trying to get the standard name with more results mapCell2Accession(\"A549\", from = \"id\", numResults = 10) #> id ac query query:id #> #> 1: A549 Cas9 CVCL_DX70 id:A549 A549 #> 2: A549 DHODH-/- CVCL_YZ46 id:A549 A549 #> 3: A549 HIF1A -/-/- CVCL_C3C5 id:A549 A549 #> 4: A549 MX10 CVCL_LB65 id:A549 A549 #> 5: A549 OS8 CVCL_XY99 id:A549 A549 #> 6: A549 SMAD4 -/- CVCL_C3C4 id:A549 A549 #> 7: A549-1 CVCL_A1ZW id:A549 A549 #> 8: A549-5Fu CVCL_XE67 id:A549 A549 #> 9: A549-AC CVCL_D1JI id:A549 A549 #> 10: A549-ACE2 CVCL_C0Q5 id:A549 A549 mapCell2Accession(\"A549\", from = \"id\", numResults = 1, prioritizeParent = TRUE) #> id ac query query:id #> #> 1: A549(VM)28 CVCL_4V06 id:A549 A549 mapCell2Accession(\"BT474\", numResults = 1, prioritizeParent = FALSE) #> id ac query query:id #> #> 1: BT474 A3 CVCL_YX79 id:BT474 BT474 mapCell2Accession(\"BT474\", numResults = 1, prioritizeParent = TRUE) #> id ac query query:id #> #> 1: BT474-5FU[r] CVCL_4V65 id:BT474 BT474"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"introduction","dir":"Articles","previous_headings":"","what":"Introduction","title":"Querying OncoTree","text":"OncoTree standardized classification system used cancer research clinical practice categorize different types cancer based tissue origin, molecular characteristics, relevant factors. Developed National Cancer Institute (NCI) within United States, OncoTree provides hierarchical framework organizes cancer types structured tree-like diagram. provides standardized classification system categorizing different types cancer based tissue origin, molecular characteristics, relevant factors. provides hierarchical framework organizes cancer types structured tree-like diagram. useful ensuring consistency cancer types classified reported across different studies clinical settings.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"setup","dir":"Articles","previous_headings":"","what":"Setup","title":"Querying OncoTree","text":"","code":"library(AnnotationGx)"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"querying-oncotree","dir":"Articles","previous_headings":"","what":"Querying OncoTree","title":"Querying OncoTree","text":"AnnotationGx provides set functions querying OncoTree retrieve three types information: - OncoTree release versions - Main Cancer types - Subtypes specific cancer type relationships","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"oncotree-release-versions","dir":"Articles","previous_headings":"Querying OncoTree","what":"OncoTree release versions","title":"Querying OncoTree","text":"getOncotreeVersions function retrieves available OncoTree release.","code":"getOncotreeVersions() #> api_identifier #> #> 1: oncotree_2017_11_01 #> 2: oncotree_2020_10_01 #> 3: oncotree_2020_02_06 #> 4: oncotree_2019_12_01 #> 5: oncotree_2018_07_01 #> 6: oncotree_2017_06_21 #> 7: oncotree_2018_08_01 #> 8: oncotree_2017_10_05 #> 9: oncotree_2019_08_01 #> 10: oncotree_2018_09_01 #> 11: oncotree_2018_06_01 #> 12: oncotree_2018_03_01 #> 13: oncotree_2018_04_01 #> 14: oncotree_2018_05_01 #> 15: oncotree_2018_02_01 #> 16: oncotree_2019_05_01 #> 17: oncotree_legacy_1.1 #> 18: oncotree_2018_01_01 #> 19: oncotree_2018_06_15 #> 20: oncotree_2019_02_01 #> 21: oncotree_2020_04_01 #> 22: oncotree_2019_03_01 #> 23: oncotree_2020_02_01 #> 24: oncotree_2021_11_02 #> 25: oncotree_development #> 26: oncotree_latest_stable #> 27: oncotree_2018_11_01 #> 28: oncotree_candidate_release #> api_identifier #> description #> #> 1: Stable OncoTree released on date 2017-11-01 #> 2: Stable OncoTree released on date 2020-10-01 #> 3: Stable OncoTree released on date 2020-02-06 #> 4: Stable OncoTree released on date 2019-12-01 #> 5: Stable OncoTree released on date 2018-07-01 #> 6: Stable OncoTree released on date 2017-06-21 #> 7: Stable OncoTree released on date 2018-08-01 #> 8: Stable OncoTree released on date 2017-10-05 #> 9: Stable OncoTree released on date 2019-08-01 #> 10: Stable OncoTree released on date 2018-09-01 #> 11: Stable OncoTree released on date 2018-06-01 #> 12: Stable OncoTree released on date 2018-03-01 #> 13: Stable OncoTree released on date 2018-04-01 #> 14: Stable OncoTree released on date 2018-05-01 #> 15: Stable OncoTree released on date 2018-02-01 #> 16: Stable OncoTree released on date 2019-05-01 #> 17: This is the closest match in TopBraid for the TumorTypes_txt file associated with release 1.1 of OncoTree (approved by committee) #> 18: Stable OncoTree released on date 2018-01-01 #> 19: Stable OncoTree released on date 2018-06-15 #> 20: Stable OncoTree released on date 2019-02-01 #> 21: Stable OncoTree released on date 2020-04-01 #> 22: Stable OncoTree released on date 2019-03-01 #> 23: Stable OncoTree released on date 2020-02-01 #> 24: Stable OncoTree released on date 2021-11-02 #> 25: Latest OncoTree under development (subject to change without notice<\/b>) #> 26: This is the latest approved version for public use. #> 27: Stable OncoTree released on date 2018-11-01 #> 28: This version of the OncoTree reflects upcoming changes which have been approved for the next public release of oncotree. It also includes a small number of nodes which will not be included in the next public release (see the news page for more details). The next public release may possibly include additional oncotree nodes, if approved. #> description #> visible release_date #> #> 1: FALSE 2017-11-01 #> 2: FALSE 2020-10-01 #> 3: FALSE 2020-02-06 #> 4: FALSE 2019-12-01 #> 5: FALSE 2018-07-01 #> 6: FALSE 2017-06-21 #> 7: FALSE 2018-08-01 #> 8: FALSE 2017-10-05 #> 9: FALSE 2019-08-01 #> 10: FALSE 2018-09-01 #> 11: FALSE 2018-06-01 #> 12: FALSE 2018-03-01 #> 13: FALSE 2018-04-01 #> 14: FALSE 2018-05-01 #> 15: FALSE 2018-02-01 #> 16: FALSE 2019-05-01 #> 17: FALSE 2016-03-28 #> 18: FALSE 2018-01-01 #> 19: FALSE 2018-06-15 #> 20: FALSE 2019-02-01 #> 21: FALSE 2020-04-01 #> 22: FALSE 2019-03-01 #> 23: FALSE 2020-02-01 #> 24: FALSE 2021-11-02 #> 25: TRUE 2021-11-04 #> 26: TRUE 2021-11-02 #> 27: FALSE 2018-11-01 #> 28: TRUE 2021-11-03 #> visible release_date"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"main-cancer-types","dir":"Articles","previous_headings":"Querying OncoTree","what":"Main Cancer types","title":"Querying OncoTree","text":"getMainCancerTypes function retrieves main cancer types OncoTree.","code":"getOncotreeMainTypes() #> mainType #> #> 1: Endometrial Cancer #> 2: Melanocytoma #> 3: Colorectal Cancer #> 4: Peripheral Nervous System #> 5: Uterine Sarcoma #> --- #> 111: Glioma #> 112: Biliary Tract Cancer #> 113: Prostate Cancer #> 114: Wilms Tumor #> 115: Renal Neuroendocrine Tumor"},{"path":"https://bhklab.github.io/AnnotationGx/articles/OncoTree.html","id":"subtypes-of-a-specific-cancer-type","dir":"Articles","previous_headings":"Querying OncoTree","what":"Subtypes of a specific cancer type","title":"Querying OncoTree","text":"getCancerSubtypes function retrieves subtypes specific cancer type.","code":"getOncotreeTumorTypes() #> code color name #> #> 1: MMB Gray Medullomyoblastoma #> 2: GCB LimeGreen Germinal Center B-Cell Type #> 3: SBLU LimeGreen Splenic B-Cell Lymphoma/Leukemia, Unclassifiable #> 4: OHNCA DarkRed Head and Neck Carcinoma, Other #> 5: PAOS White Parosteal Osteosarcoma #> --- #> 881: VSC Purple Squamous Cell Carcinoma of the Vulva/Vagina #> 882: OOVC LightBlue Ovarian Cancer, Other #> 883: LCH LightSalmon Langerhans Cell Histiocytosis #> 884: PSEC Green Peritoneal Serous Carcinoma #> 885: AM LightSalmon AML with Maturation #> mainType externalReferences tissue children #> #> 1: Embryonal Tumor C0205833 C3706 CNS/Brain #> 2: Mature B-Cell Neoplasms Lymphoid #> 3: Mature B-Cell Neoplasms Lymphoid #> 4: Head and Neck Cancer Head and Neck #> 5: Bone Cancer C0206642 C8969 Bone #> --- #> 881: Vaginal Cancer C0238518 C7736 Vulva/Vagina #> 882: Ovarian Cancer Ovary/Fallopian Tube #> 883: Histiocytosis C0019621 C3107 Myeloid #> 884: Peritoneal Cancer, NOS Peritoneum #> 885: Leukemia Myeloid #> parent history level revocations precursors #> #> 1: EMBT 3 #> 2: DLBCLNOS 6 #> 3: MBN 5 #> 4: HEAD_NECK 2 #> 5: OS 3 #> --- #> 881: VULVA 2 #> 882: OVARY 2 #> 883: HDCN 4 #> 884: PERITONEUM 2 #> 885: AMLNOS 5"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"introduction-to-pubchem-apis","dir":"Articles","previous_headings":"","what":"Introduction to PubChem APIs","title":"Querying PubChem","text":"PubChem database chemical molecules biological activities. part National Center Biotechnology Information (NCBI), part National Institutes Health (NIH). PubChem provides set APIs query database. AnnotationGx package provides set functions query PubChem using APIs. first APIs PubChem PUG REST API designed - make specific queries based input identifier return data PubChem labelled computed internally [1]. - API useful querying information specific chemical compound getting standardized PubChem identifier (CID) given chemical name smiles string, getting chemical structure given CID. - provides access wide range data including chemical properties, bioassay data, chemical classification data, given specific identifier. second API PubChem PUG VIEW API designed : - give accesse aggregated annotations given chemical compound [3] mapped data, curated PubChem . - .e provides access annotations external sources UniProt, ChEBI, ChEMBL, given specific identifier.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"setup","dir":"Articles","previous_headings":"","what":"Setup","title":"Querying PubChem","text":"","code":"library(AnnotationGx)"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"mapping-from-chemical-name-to-pubchem-cid","dir":"Articles","previous_headings":"","what":"Mapping from chemical name to PubChem CID","title":"Querying PubChem","text":"main function provided package mapCompound2CID. can pass list compound names get CIDs . possible names multimap CIDs. case ‘Vincaleukoblastine’ query. cases multimapping, usually first entry highest similarity requested drug. subset first occurrence drug name: case compound can’t mapped, NA returned warning issued.","code":"mapCompound2CID(\"aspirin\") #> name cids #> #> 1: aspirin 2244 drugs <- c( \"Aspirin\", \"Erlotinib\", \"Acadesine\", \"Camptothecin\", \"Vincaleukoblastine\", \"Cisplatin\" ) mapCompound2CID(drugs) #> name cids #> #> 1: Aspirin 2244 #> 2: Erlotinib 176870 #> 3: Acadesine 17513 #> 4: Camptothecin 24360 #> 5: Vincaleukoblastine 13342 #> 6: Vincaleukoblastine 241903 #> 7: Vincaleukoblastine 3823887 #> 8: Cisplatin 5702198 mapCompound2CID(drugs, first = TRUE) #> name cids #> #> 1: Aspirin 2244 #> 2: Erlotinib 176870 #> 3: Acadesine 17513 #> 4: Camptothecin 24360 #> 5: Vincaleukoblastine 13342 #> 6: Cisplatin 5702198 (result <- mapCompound2CID(c(drugs, \"non existent compound\", \"another bad compound\"), first = TRUE)) #> [23:15:48] [WARNING] [AnnotationGx::getPubchemCompound] Some queries failed. See the 'failed' object for details. #> name cids #> #> 1: Aspirin 2244 #> 2: Erlotinib 176870 #> 3: Acadesine 17513 #> 4: Camptothecin 24360 #> 5: Vincaleukoblastine 13342 #> 6: Cisplatin 5702198 #> 7: non existent compound NA #> 8: another bad compound NA failed <- attributes(result)$failed # get the list of failed inputs names(failed) #> [1] \"non existent compound\" \"another bad compound\" # get the error message for the failed input print(failed[1]) #> $`non existent compound` #> $`non existent compound`$Code #> [1] \"PUGREST.NotFound\" #> #> $`non existent compound`$Message #> [1] \"No CID found\" #> #> $`non existent compound`$Details #> [1] \"No CID found that matches the given name\""},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"mapping-from-pubchem-cid-to-properties","dir":"Articles","previous_headings":"","what":"Mapping from PubChem CID to Properties","title":"Querying PubChem","text":"CIDs obtained, can used query properties compound. view available properties Pubchem, use getPubchemProperties function. deciding properties query, can use mapCID2Properties function get properties specific CID.","code":"getPubchemProperties() #> name type #> #> 1: CID int #> 2: MolecularFormula string #> 3: MolecularWeight string #> 4: CanonicalSMILES string #> 5: IsomericSMILES string #> 6: InChI string #> 7: InChIKey string #> 8: IUPACName string #> 9: XLogP double #> 10: ExactMass string #> 11: MonoisotopicMass string #> 12: TPSA double #> 13: Complexity int #> 14: Charge int #> 15: HBondDonorCount int #> 16: HBondAcceptorCount int #> 17: RotatableBondCount int #> 18: HeavyAtomCount int #> 19: IsotopeAtomCount int #> 20: AtomStereoCount int #> 21: DefinedAtomStereoCount int #> 22: UndefinedAtomStereoCount int #> 23: BondStereoCount int #> 24: DefinedBondStereoCount int #> 25: UndefinedBondStereoCount int #> 26: CovalentUnitCount int #> 27: Volume3D double #> 28: XStericQuadrupole3D double #> 29: YStericQuadrupole3D double #> 30: ZStericQuadrupole3D double #> 31: FeatureCount3D int #> 32: FeatureAcceptorCount3D int #> 33: FeatureDonorCount3D int #> 34: FeatureAnionCount3D int #> 35: FeatureCationCount3D int #> 36: FeatureRingCount3D int #> 37: FeatureHydrophobeCount3D int #> 38: ConformerModelRMSD3D double #> 39: EffectiveRotorCount3D double #> 40: ConformerCount3D int #> 41: Fingerprint2D base64Binary #> 42: Title string #> 43: PatentCount int #> 44: PatentFamilyCount int #> 45: LiteratureCount int #> name type properties <- c(\"Title\", \"MolecularFormula\", \"InChIKey\", \"MolecularWeight\") # Need to remove NA values from the query as they will cause an error result[!is.na(cids), mapCID2Properties(ids = cids, properties = properties)] #> CID MolecularFormula MolecularWeight InChIKey #> #> 1: 2244 C9H8O4 180.16 BSYNRYMUTXBXSQ-UHFFFAOYSA-N #> 2: 176870 C22H23N3O4 393.4 AAKJLRGGTJKAMG-UHFFFAOYSA-N #> 3: 17513 C9H14N4O5 258.23 RTRQQBHATOEIAF-UUOKFMHZSA-N #> 4: 24360 C20H16N2O4 348.4 VSJKWCGYPAHWDS-FQEVSTJZSA-N #> 5: 13342 C46H58N4O9 811.0 JXLYSJRDGCGARV-CFWMRBGOSA-N #> 6: 5702198 Cl2H6N2Pt 300.05 LXZZYRPGZAFOLE-UHFFFAOYSA-L #> Title #> #> 1: Aspirin #> 2: Erlotinib #> 3: Acadesine #> 4: Camptothecin #> 5: Vinblastine #> 6: azane;dichloroplatinum"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"mapping-from-pubchem-cid-to-annotations","dir":"Articles","previous_headings":"","what":"Mapping from PubChem CID to Annotations","title":"Querying PubChem","text":"Pubchem’s VIEW API provides access annotations external sources UniProt, ChEBI, ChEMBL, given specific identifier. querying annotations, need use exact heading want query. can use getPubchemAnnotationHeadings function get available annotation headings types.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-all-available-annotation-headings","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get ALL available annotation headings:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings() #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 631: Wiley References Compound #> 632: WormBase ID Gene #> 633: WormBase ID Protein #> 634: Xenbase Gene ID Gene #> 635: ZFIN ID Gene"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-annotation-headings-for-a-specific-type","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get annotation headings for a specific type:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings(type = \"Compound\") #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 473: Volatilization from Water/Soil (Complete) Compound #> 474: WHO Essential Medicines Compound #> 475: Wikidata Compound #> 476: Wikipedia Compound #> 477: Wiley References Compound"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-annotation-headings-for-a-specific-heading","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get annotation headings for a specific heading:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings(heading = \"ChEMBL ID\") #> Heading Type #> #> 1: ChEMBL ID Compound"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"get-annotation-headings-for-a-specific-type-and-heading","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Get annotation headings for a specific type and heading:","title":"Querying PubChem","text":"","code":"getPubchemAnnotationHeadings(type = \"Compound\", heading = \"CAS\") #> Heading Type #> #> 1: CAS Compound #> 2: Deprecated CAS Compound #> 3: Related CAS Compound"},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"query-annotations-for-a-specific-cid-and-heading","dir":"Articles","previous_headings":"Mapping from PubChem CID to Annotations","what":"Query annotations for a specific CID and heading","title":"Querying PubChem","text":"can use heading query annotations specific CID.","code":"result[!is.na(cids), CAS := annotatePubchemCompound(cids, \"CAS\")] result #> name cids CAS #> #> 1: Aspirin 2244 50-78-2 #> 2: Erlotinib 176870 183321-74-6 #> 3: Acadesine 17513 2627-69-2 #> 4: Camptothecin 24360 7689-03-4 #> 5: Vincaleukoblastine 13342 865-21-4 #> 6: Cisplatin 5702198 #> 7: non existent compound NA #> 8: another bad compound NA "},{"path":"https://bhklab.github.io/AnnotationGx/articles/PubChemAPI.html","id":"references","dir":"Articles","previous_headings":"","what":"References","title":"Querying PubChem","text":"PUG REST. PubChem Docs [website]. Retrieved https://pubchemdocs.ncbi.nlm.nih.gov/pug-rest. Kim S, Thiessen PA, Cheng T, Yu B, Bolton EE. update PUG-REST: RESTful interface programmatic access PubChem. Nucleic Acids Res. 2018 July 2; 46(W1):W563-570. doi:10.1093/nar/gky294. PUG VIEW. PubChem Docs [webiste]. Retrieved https://pubchemdocs.ncbi.nlm.nih.gov/pug-view. Kim S, Thiessen PA, Cheng T, Zhang J, Gindulyte , Bolton EE. PUG-View: programmatic access chemical annotations integrated PubChem. J Cheminform. 2019 Aug 9; 11:56. doi:10.1186/s13321-019-0375-2.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Jermiah Joseph. Author, maintainer. Christopher Eeles. Author. Benjamin Haibe-Kains. Author.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Joseph J, Eeles C, Haibe-Kains B (2024). AnnotationGx: AnnotationGx: package building, updating querying annotation database pharmaco-genomic data. R package version 0.0.0.9080, https://bhklab.github.io/AnnotationGx/.","code":"@Manual{, title = {AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data}, author = {Jermiah Joseph and Christopher Eeles and Benjamin Haibe-Kains}, year = {2024}, note = {R package version 0.0.0.9080}, url = {https://bhklab.github.io/AnnotationGx/}, }"},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"AnnotationGx: A package for building, updating and querying an\n annotation database for pharmaco-genomic data","text":"can install github using:","code":"remotes::install_github(\"bhklab/AnnotationGx\", build_manual=TRUE, build_vignettes=TRUE)"},{"path":"https://bhklab.github.io/AnnotationGx/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"AnnotationGx: A package for building, updating and querying an\n annotation database for pharmaco-genomic data","text":"","code":"library(AnnotationGx) help(package=\"AnnotationGx\")"},{"path":"https://bhklab.github.io/AnnotationGx/reference/AnnotationGx-package.html","id":null,"dir":"Reference","previous_headings":"","what":"AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data — AnnotationGx-package","title":"AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data — AnnotationGx-package","text":"package building, updating querying annotation database pharmaco-genomic data. Provides API interfaces various bioinformatic chemoinformatic databases, well set functions curating data using annotations retrieved APIs.","code":""},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/reference/AnnotationGx-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"AnnotationGx: AnnotationGx: A package for building, updating and querying an annotation database for pharmaco-genomic data — AnnotationGx-package","text":"Maintainer: Jermiah Joseph jermiah.joseph@gmail.com Authors: Christopher Eeles christopher.eeles@uhnresearch.ca Benjamin Haibe-Kains benjamin.haibe.kains@utoronto.ca","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":null,"dir":"Reference","previous_headings":"","what":"Annotate PubChem Compound — annotatePubchemCompound","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"function retrieves information PubChem compound based provided compound ID (CID).","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"","code":"annotatePubchemCompound( cids, heading = \"ChEMBL ID\", source = NULL, parse_function = identity, query_only = FALSE, raw = FALSE )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"cids compound ID (CID) PubChem compound. heading type information retrieve. Default \"ChEMBL ID\". source data source use. Default NULL. parse_function custom parsing function process response. Default identity function. query_only Logical indicating whether return query URL . Default FALSE. raw Logical indicating whether return raw response. Default FALSE.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"annotated information PubChem compound.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/annotatePubchemCompound.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Annotate PubChem Compound — annotatePubchemCompound","text":"","code":"annotatePubchemCompound(cid = 2244) #> [1] \"CHEMBL25\" annotatePubchemCompound(cid = c(2244, 67890), heading = \"CAS\") #> [1] \"50-78-2\" \"407-59-0\""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":null,"dir":"Reference","previous_headings":"","what":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"preprocessed version cell model passports dataset. dataset contains following columns: CMP.model_id, CMP.sampleid, CMP.model_name, CMP.cancer_type_ncit_id, CMP.COSMIC_ID, CMP.BROAD_ID, CMP.CCLE_ID, CMP.RRID. dataset used AnnotationGx package map cell line names various sources Cellosaurus database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"","code":"data(cell_model_passports_models)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"data table 8 columns 1001 rows. CMP.model_id char model id cell line cell model passports dataset. CMP.sample_id char sample id cell line cell model passports dataset. CMP.model_name char name cell line cell model passports dataset. CMP.cancer_type_ncit_id char cancer type ncit id cell line cell model passports dataset. CMP.COSMIC_ID int COSMIC ID cell line cell model passports dataset. CMP.BROAD_ID int BROAD ID cell line cell model passports dataset. CMP.CCLE_ID int CCLE ID cell line cell model passports dataset. CMP.RRID char RRID cell line cell model passports dataset.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"https://cog.sanger.ac.uk/cmp/download/model_list_20240103.csv","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/cell_model_passports_models.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"cell_model_passports_models is a preprocessed version of the cell model passports dataset — cell_model_passports_models","text":"","code":"data(cell_model_passports_models) head(cell_model_passports_models) #> CMP.model_id CMP.sample_id CMP.model_name CMP.cancer_type_ncit_id #> #> 1: SIDM01774 SIDS01659 PK-59 C3850 #> 2: SIDM00192 SIDS00612 SNU-1033 C9383 #> 3: SIDM01447 SIDS01466 SNU-466 C3058 #> 4: SIDM01554 SIDS01363 IST-MES-2 C45662 #> 5: SIDM01689 SIDS01631 MUTZ-5 C8644 #> 6: SIDM01460 SIDS01493 TM-31 C60781 #> CMP.COSMIC_ID CMP.BROAD_ID CMP.CCLE_ID #> #> 1: ACH-000205 PK59_PANCREAS #> 2: ACH-000286 SNU1033_LARGE_INTESTINE #> 3: ACH-000289 SNU466_CENTRAL_NERVOUS_SYSTEM #> 4: ACH-000331 ISTMES2_PLEURA #> 5: ACH-000492 MUTZ5_HAEMATOPOIETIC_AND_LYMPHOID_TISSUE #> 6: ACH-000592 TM31_CENTRAL_NERVOUS_SYSTEM #> CMP.RRID #> #> 1: CVCL_4897 #> 2: CVCL_5002 #> 3: CVCL_5064 #> 4: CVCL_1312 #> 5: CVCL_1873 #> 6: CVCL_6735"},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":null,"dir":"Reference","previous_headings":"","what":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"Data obtained \"https://ctd2-data.nci.nih.gov/Public/Broad/CTRPv2.0_2015_ctd2_ExpandedDataset/CTRPv2.0_2015_ctd2_ExpandedDataset.zip\" preprocessed get two columns: CTRP.treatmentid CTRP.broad_cpd_id.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"","code":"data(ctrp_treatmentIDs)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"data table 2 columns 545 rows. CTRP.treatmentid char treatment id compounds used experiment. CTRP.broad_cpd_id char broad compound id compounds used experiment.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"https://ctd2-data.nci.nih.gov/Public/Broad/CTRPv2.0_2015_ctd2_ExpandedDataset/CTRPv2.0_2015_ctd2_ExpandedDataset.zip","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/ctrp_treatmentIDs.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"ctrp_treatmentIDs is a preprocessed version of the CTRP treatment metadata. — ctrp_treatmentIDs","text":"","code":"data(ctrp_treatmentIDs) head(ctrp_treatmentIDs) #> CTRP.treatmentid CTRP.broad_cpd_id #> #> 1: CIL55 BRD-K46556387 #> 2: BRD4132 BRD-K86574132 #> 3: BRD6340 BRD-K35716340 #> 4: ML006 BRD-K89692698 #> 5: Bax channel blocker BRD-A18763547 #> 6: BRD9876 BRD-K89329876"},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":null,"dir":"Reference","previous_headings":"","what":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"preprocessed version sample metadata GDSC dataset. dataset contains following columns: GDSC.Sample_Name, GDSC.BROAD_ID, GDSC.RRID, GDSC.COSMIC_ID, CCLE.sampleid. dataset used AnnotationGx package map cell line names various sources Cellosaurus database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"","code":"data(gdsc_sampleMetadata)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"data table 5 columns 1001 rows. GDSC.Sample_Name char name cell line GDSC dataset. GDSC.COSMIC_ID int COSMIC ID cell line GDSC dataset.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"https://www.cancerrxgene.org/","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/gdsc_sampleMetadata.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"gdsc_sampleMetadata is some preprocessed sample metadata from the GDSC dataset — gdsc_sampleMetadata","text":"","code":"data(gdsc_sampleMetadata) head(gdsc_sampleMetadata) #> GDSC.Sample_Name GDSC.COSMIC_ID #> #> 1: A253 906794 #> 2: BB30-HNC 753531 #> 3: BB49-HNC 753532 #> 4: BHY 753535 #> 5: BICR10 1290724 #> 6: BICR22 1240121"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":null,"dir":"Reference","previous_headings":"","what":"Get ChEMBL Mechanism — getChemblMechanism","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"function retrieves information mechanism action given ChEMBL ID.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"","code":"getChemblMechanism( chembl.ID, resources = \"mechanism\", field = \"molecule_chembl_id\", filter_type = \"in\", returnURL = FALSE, raw = FALSE )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"chembl.ID ChEMBL ID molecule. resources ChEMBL resource query (default: \"mechanism\"). field field filter (default: \"molecule_chembl_id\"). filter_type filter type use (default: \"\"). returnURL Logical indicating whether return constructed URL (default: FALSE). raw Logical indicating whether return raw response JSON (default: FALSE).","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"data.table containing retrieved mechanism information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblMechanism.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get ChEMBL Mechanism — getChemblMechanism","text":"","code":"getChemblMechanism(\"CHEMBL1413\") #> action_type binding_site_comment direct_interaction disease_efficacy #> #> 1: CHELATING AGENT NA 1 1 #> 2: CHELATING AGENT NA 1 1 #> max_phase mec_id #> #> 1: 4 2200 #> 2: 4 2224 #> mechanism_comment #> #> 1: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> 2: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> mechanism_of_action mechanism_refs molecular_mechanism #> #> 1: Iron chelating agent 1 #> 2: Aluminium chelating agent 1 #> molecule_chembl_id parent_molecule_chembl_id record_id selectivity_comment #> #> 1: CHEMBL1413 CHEMBL1413 1343970 NA #> 2: CHEMBL1413 CHEMBL1413 1343970 NA #> site_id target_chembl_id variant_sequence #> #> 1: NA CHEMBL2363058 NA #> 2: NA CHEMBL2366381 NA getChemblMechanism(\"CHEMBL1413\", resources = \"mechanism\", field = \"molecule_chembl_id\", filter_type = \"in\", returnURL = FALSE, raw = FALSE ) #> action_type binding_site_comment direct_interaction disease_efficacy #> #> 1: CHELATING AGENT NA 1 1 #> 2: CHELATING AGENT NA 1 1 #> max_phase mec_id #> #> 1: 4 2200 #> 2: 4 2224 #> mechanism_comment #> #> 1: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> 2: Trivalent metal cations chelating agent; inhibition of the metal-dependent enzymes that are responsible for the degradation of peroxides within the fungal cell #> mechanism_of_action mechanism_refs molecular_mechanism #> #> 1: Iron chelating agent 1 #> 2: Aluminium chelating agent 1 #> molecule_chembl_id parent_molecule_chembl_id record_id selectivity_comment #> #> 1: CHEMBL1413 CHEMBL1413 1343970 NA #> 2: CHEMBL1413 CHEMBL1413 1343970 NA #> site_id target_chembl_id variant_sequence #> #> 1: NA CHEMBL2363058 NA #> 2: NA CHEMBL2366381 NA"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the fields of a Chembl resource — getChemblResourceFields","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"function retrieves fields Chembl resource.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"","code":"getChemblResourceFields(resource)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"resource Chembl resource.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"character vector containing names fields.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getChemblResourceFields.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get the fields of a Chembl resource — getChemblResourceFields","text":"","code":"getChemblResourceFields(\"molecule\") #> [1] \"atc_classifications\" \"availability_type\" \"biotherapeutic\" #> [4] \"black_box_warning\" \"chebi_par_id\" \"chemical_probe\" #> [7] \"chirality\" \"cross_references\" \"dosed_ingredient\" #> [10] \"first_approval\" \"first_in_class\" \"helm_notation\" #> [13] \"indication_class\" \"inorganic_flag\" \"max_phase\" #> [16] \"molecule_chembl_id\" \"molecule_hierarchy\" \"molecule_properties\" #> [19] \"molecule_structures\" \"molecule_synonyms\" \"molecule_type\" #> [22] \"natural_product\" \"oral\" \"parenteral\" #> [25] \"polymer_flag\" \"pref_name\" \"prodrug\" #> [28] \"score\" \"structure_type\" \"therapeutic_flag\" #> [31] \"topical\" \"usan_stem\" \"usan_stem_definition\" #> [34] \"usan_substem\" \"usan_year\" \"withdrawn_flag\""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeMainTypes.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the main types from the Oncotree database. — getOncotreeMainTypes","title":"Get the main types from the Oncotree database. — getOncotreeMainTypes","text":"function retrieves main types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeMainTypes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the main types from the Oncotree database. — getOncotreeMainTypes","text":"","code":"getOncotreeMainTypes()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeMainTypes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the main types from the Oncotree database. — getOncotreeMainTypes","text":"data.table containing main types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeTumorTypes.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","title":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","text":"function retrieves tumor types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeTumorTypes.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","text":"","code":"getOncotreeTumorTypes()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeTumorTypes.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the tumor types from the Oncotree database. — getOncotreeTumorTypes","text":"data.table containing tumor types Oncotree database.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeVersions.html","id":null,"dir":"Reference","previous_headings":"","what":"Get available Oncotree versions — getOncotreeVersions","title":"Get available Oncotree versions — getOncotreeVersions","text":"function retrieves available versions Oncotree.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeVersions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get available Oncotree versions — getOncotreeVersions","text":"","code":"getOncotreeVersions()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getOncotreeVersions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get available Oncotree versions — getOncotreeVersions","text":"data.table containing available Oncotree versions.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":null,"dir":"Reference","previous_headings":"","what":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"Get annotation headings (name ) based type heading criteria.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"","code":"getPubchemAnnotationHeadings(type = \"all\", heading = NULL)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"type type annotation headings retrieve. Options include \"Compound\", \"Gene\", \"Taxonomy\", \"Element\", \"Assay\", \"Protein\", \"Cell\", \"Pathway\", \"\" (default). heading specific heading filter results . Defaults NULL, retrieves headings.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"data.table containing annotation headings types.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemAnnotationHeadings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Get annotation headings (name only) based on type and heading criteria. — getPubchemAnnotationHeadings","text":"","code":"getPubchemAnnotationHeadings() #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 631: Wiley References Compound #> 632: WormBase ID Gene #> 633: WormBase ID Protein #> 634: Xenbase Gene ID Gene #> 635: ZFIN ID Gene getPubchemAnnotationHeadings(type = \"Compound\") #> Heading Type #> #> 1: 11B NMR Spectra Compound #> 2: 13C NMR Spectra Compound #> 3: 15N NMR Spectra Compound #> 4: 17O NMR Spectra Compound #> 5: 19F NMR Spectra Compound #> --- #> 473: Volatilization from Water/Soil (Complete) Compound #> 474: WHO Essential Medicines Compound #> 475: Wikidata Compound #> 476: Wikipedia Compound #> 477: Wiley References Compound getPubchemAnnotationHeadings(heading = \"ChEMBL*\") #> Heading Type #> #> 1: ChEMBL Cell Line ID Cell #> 2: ChEMBL ID Compound #> 3: ChEMBL Target ID Protein getPubchemAnnotationHeadings(type = \"Compound\", heading = \"ChEMBL*\") #> Heading Type #> #> 1: ChEMBL ID Compound"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieve PubChem compound information — getPubchemCompound","title":"Retrieve PubChem compound information — getPubchemCompound","text":"function retrieves compound information PubChem using PubChem REST API. Used functions retrieve compound information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieve PubChem compound information — getPubchemCompound","text":"","code":"getPubchemCompound( ids, from = \"cid\", to = \"property\", properties = c(\"Title\", \"InChIKey\"), raw = FALSE, query_only = FALSE, output = \"JSON\", ... )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieve PubChem compound information — getPubchemCompound","text":"ids vector compound identifiers. source namespace compound identifiers. Default 'cid'. target namespace compound information. Default 'property'. properties character vector specifying properties retrieve. raw Logical indicating whether return raw query results. Default FALSE. query_only Logical indicating whether perform query without retrieving results. Default FALSE. output format query results. Default 'JSON'. ... Additional arguments passed query_pubchem_rest function.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieve PubChem compound information — getPubchemCompound","text":"data.table containing retrieved compound information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemCompound.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Retrieve PubChem compound information — getPubchemCompound","text":"","code":"properties <- c(\"Title\", \"MolecularFormula\", \"InChIKey\", \"CanonicalSMILES\") getPubchemCompound(c(3672, 176870), from = \"cid\", to = \"property\", properties = properties) #> CID MolecularFormula CanonicalSMILES #> #> 1: 3672 C13H18O2 CC(C)CC1=CC=C(C=C1)C(C)C(=O)O #> 2: 176870 C22H23N3O4 COCCOC1=C(C=C2C(=C1)C(=NC=N2)NC3=CC=CC(=C3)C#C)OCCOC #> InChIKey Title #> #> 1: HEFNNWSXXWATRW-UHFFFAOYSA-N Ibuprofen #> 2: AAKJLRGGTJKAMG-UHFFFAOYSA-N Erlotinib"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemProperties.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","title":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","text":"function retrieves PubChem XML schema specified URL extracts property information . property information includes name type property.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemProperties.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","text":"","code":"getPubchemProperties()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemProperties.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieves the PubChem XML schema and extracts property information. — getPubchemProperties","text":"data table containing extracted property information.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":null,"dir":"Reference","previous_headings":"","what":"Retrieves the status of a PubChem request — getPubchemStatus","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"function sends request PubChem retrieve status given URL. returns status code , specified, parsed information response.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"","code":"getPubchemStatus( returnMessage = FALSE, printMessage = TRUE, url = \"https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/Aspirin/cids/JSON\" )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"returnMessage Logical indicating whether return parsed information response. printMessage Logical indicating whether print status message. url URL send request . Default \"https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/Aspirin/cids/JSON\".","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"status code response. returnMessage TRUE, parsed information response also returned.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getPubchemStatus.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Retrieves the status of a PubChem request — getPubchemStatus","text":"","code":"getPubchemStatus() #> Throttling status: #> Request Count status: Green (2%) #> Request Time status: Green (0%) #> Service status: Green (13%) getPubchemStatus(returnMessage = TRUE) #> Throttling status: #> Request Count status: Green (2%) #> Request Time status: Green (0%) #> Service status: Green (7%) #> $request_count #> $request_count$status #> [1] \"Green\" #> #> $request_count$percent #> [1] 2 #> #> #> $request_time #> $request_time$status #> [1] \"Green\" #> #> $request_time$percent #> [1] 0 #> #> #> $service #> $service$status #> [1] \"Green\" #> #> $service$percent #> [1] 7 #> #> getPubchemStatus(printMessage = FALSE)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getUnichemSources.html","id":null,"dir":"Reference","previous_headings":"","what":"Get the list of sources in UniChem. — getUnichemSources","title":"Get the list of sources in UniChem. — getUnichemSources","text":"Returns data.table following columns: CompoundCount (integer): Total compounds provided source BaseURL (string): Source Base URL compounds Description (string): Source database description LastUpdated (string): Date source database last updated Name (string): Short name source database NameLabel (string): Machine readable label name source database NameLong (string): Full name source database SourceID (integer): Unique ID source database Details (string): Notes source ReleaseDate (string): Date source database released ReleaseNumber (integer): Release number source database data stored UniChEM URL (string): Main URL source UpdateComments (string): Notes update process source UniChEM","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/getUnichemSources.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Get the list of sources in UniChem. — getUnichemSources","text":"","code":"getUnichemSources()"},{"path":"https://bhklab.github.io/AnnotationGx/reference/getUnichemSources.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Get the list of sources in UniChem. — getUnichemSources","text":"data.table list sources UniChem.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":null,"dir":"Reference","previous_headings":"","what":"Map PubChem Compound IDs to Properties — mapCID2Properties","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"function maps PubChem Compound IDs specified properties using PubChem REST API. See getPubchemProperties list available properties.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"","code":"mapCID2Properties(ids, properties, ...)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"ids vector PubChem Compound IDs. properties vector property names retrieve compound. ... Additional arguments passed getPubchemCompound function.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"data frame containing mapped properties compound.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCID2Properties.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Map PubChem Compound IDs to Properties — mapCID2Properties","text":"","code":"mapCID2Properties(ids = c(123, 456), properties = c(\"MolecularWeight\", \"CanonicalSMILES\")) #> CID MolecularWeight CanonicalSMILES #> #> 1: 123 144.18 C(CC(=O)N)CN=C(N)N #> 2: 456 132.08 C(=O)(C(=O)O)NC(=O)N"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":null,"dir":"Reference","previous_headings":"","what":"Maps cell line names to accession numbers — mapCell2Accession","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"function takes vector cell line names maps accession numbers using Cellosaurus database. performs parallel request retrieve mapping information returns data table results.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"","code":"mapCell2Accession( ids, numResults = 1000, from = \"id\", to = c(\"id\", \"ac\"), prioritizeParent = FALSE, query_only = FALSE, raw = FALSE, BPPARAM = BiocParallel::SerialParam(), ... )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"ids character vector cell line names. numResults number results return query. Default 1. field query . Default \"id\". field query . Default \"id\" \"ac\". prioritizeParent TRUE, prioritizes parent cell line multiple matches found. Default FALSE. prioritizeParent TRUE, multiple matches found cell line name, function prioritize parent cell lines matches. can useful dealing cell line hierarchies parent cell line represents broader category. example trying map using id \"BT474\" returns \"CVCL_YX79\" corresponds \"BT474 A3\" whereas \"BT-474\" exists database \"CVCL_0179\". prioritizeParent TRUE, function prioritize \"CVCL_0179\" \"CVCL_YX79\" since \"BT-474\" parent cell line \"BT474 A3\". query_only TRUE, returns query URL instead results. Default FALSE. raw TRUE, returns raw response instead data table. Default FALSE. BPPARAM BiocParallel parameter object controlling parallelization. ... Additional arguments pass request.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"Depending parameters, either : data.table \"id\", \"ac\", \"query\", \"query:id\" columns. list query URLs query_only TRUE. list raw responses raw TRUE.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCell2Accession.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Maps cell line names to accession numbers — mapCell2Accession","text":"","code":"mapCell2Accession(c(\"A549\", \"HeLa\")) #> id ac query query:id #> #> 1: A549 Cas9 CVCL_DX70 id:A549 A549 #> 2: A549 DHODH-/- CVCL_YZ46 id:A549 A549 #> 3: A549 HIF1A -/-/- CVCL_C3C5 id:A549 A549 #> 4: A549 MX10 CVCL_LB65 id:A549 A549 #> 5: A549 OS8 CVCL_XY99 id:A549 A549 #> --- #> 1120: Abcam HeLa ROCK2 KO CVCL_B2E1 id:HeLa HeLa #> 1121: Abcam HeLa RORC KO CVCL_B2E2 id:HeLa HeLa #> 1122: Abcam HeLa RPL36A KO CVCL_B2E3 id:HeLa HeLa #> 1123: Abcam HeLa RPRM KO CVCL_B2E4 id:HeLa HeLa #> 1124: Abcam HeLa RPS27L KO CVCL_B2E5 id:HeLa HeLa"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":null,"dir":"Reference","previous_headings":"","what":"Map compound names to PubChem CIDs — mapCompound2CID","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"function maps compound names PubChem CIDs using PubChem REST API.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"","code":"mapCompound2CID(names, first = FALSE, ...)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"names character vector compound names. first Logical indicating whether return first CID compound name (default FALSE). ... Additional arguments passed getPubchemCompound function.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"character vector PubChem CIDs.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/mapCompound2CID.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Map compound names to PubChem CIDs — mapCompound2CID","text":"","code":"mapCompound2CID(c(\"aspirin\", \"caffeine\")) #> name cids #> #> 1: aspirin 2244 #> 2: caffeine 2519"},{"path":"https://bhklab.github.io/AnnotationGx/reference/options.html","id":null,"dir":"Reference","previous_headings":"","what":"AnnotationGx Options — options","title":"AnnotationGx Options — options","text":"Internally used, package-specific options. options prioritize R options() values, fall back environment variables undefined. neither option environment variable set, default value used.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/options.html","id":"checking-option-values","dir":"Reference","previous_headings":"","what":"Checking Option Values","title":"AnnotationGx Options — options","text":"Option values specific AnnotationGx can accessed passing package name env.","code":"options::opts(env = \"AnnotationGx\") options::opt(x, default, env = \"AnnotationGx\")"},{"path":"https://bhklab.github.io/AnnotationGx/reference/options.html","id":"options","dir":"Reference","previous_headings":"","what":"Options","title":"AnnotationGx Options — options","text":"log_level default: \"WARNING\" option: annotationgx_log_level envvar: ANNOTATIONGX_LOGLEVEL (evaluated possible, raw string otherwise) verbose default: FALSE option: annotationgx_verbose envvar: ANNOTATIONGX_VERBOSE (evaluated possible, raw string otherwise)","code":"\"WARNING\" FALSE"},{"path":[]},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":null,"dir":"Reference","previous_headings":"","what":"Query UniChem for a compound. — queryUnichem","title":"Query UniChem for a compound. — queryUnichem","text":"function queries UniChem API compound based provided parameters.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Query UniChem for a compound. — queryUnichem","text":"","code":"queryUnichem( type, compound, sourceID = NA_integer_, request_only = FALSE, raw = FALSE, ... )"},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Query UniChem for a compound. — queryUnichem","text":"type character type compound identifier search . Valid types \"uci\", \"inchi\", \"inchikey\", \"sourceID\". compound character integer compound identifier search . sourceID integer source ID search type \"sourceID\". Defaults NULL. request_only boolean Whether return request . Defaults FALSE. raw boolean Whether return raw response. Defaults FALSE. ... Additional arguments.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Query UniChem for a compound. — queryUnichem","text":"list external mappings UniChem mappings.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/queryUnichem.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Query UniChem for a compound. — queryUnichem","text":"","code":"queryUnichem(type = \"sourceID\", compound = \"444795\", sourceID = 22) #> https://www.ebi.ac.uk/unichem/api/v1/compounds #> • scheme: https #> • hostname: www.ebi.ac.uk #> • path: /unichem/api/v1/compounds #> https://www.ebi.ac.uk/unichem/api/v1/sources #> • scheme: https #> • hostname: www.ebi.ac.uk #> • path: /unichem/api/v1/sources #> #> POST https://www.ebi.ac.uk/unichem/api/v1/compounds #> Body: json encoded data #> Policies: #> • retry_max_tries: 3 #> • error_is_error: a function #> $External_Mappings #> compoundID Name #> #> 1: CHEMBL38 chembl #> 2: DB00755 drugbank #> 3: REA pdb #> 4: 2644 gtopdb #> 5: 12014646 pubchem_dotf #> 6: C00777 kegg_ligand #> 7: 15367 chebi #> 8: SAM002264647 nih_ncc #> 9: ZINC000012358651 zinc #> 10: 1934590 emolecules #> 11: tretinoin atlas #> 12: retinoic acid atlas #> 13: all-trans retinoic acid atlas #> 14: 9-cis retinoic-acid atlas #> 15: 5688UTC01R fdasrs #> 16: SCHEMBL19091395 surechembl #> 17: SCHEMBL3145 surechembl #> 18: PA164746900 pharmgkb #> 19: HMDB0001852 hmdb #> 20: Tretinoin(Aberela) selleck #> 21: 14849563 pubchem_tpharma #> 22: 14825303 pubchem_tpharma #> 23: 444795 pubchem #> 24: 60021090 nmrshiftdb2 #> 25: LSM-42854 lincs #> 26: 4759-48-2 actor #> 27: 302-79-4 actor #> 28: 187175-63-9 actor #> 29: MolPort-000-883-857 molport #> 30: J2.378.058E nikkaji #> 31: J1.313.469C nikkaji #> 32: J623.910B nikkaji #> 33: J970.183D nikkaji #> 34: J1.518K nikkaji #> 35: J494.243D nikkaji #> 36: J690.379G nikkaji #> 37: J646.157C nikkaji #> 38: J646.158A nikkaji #> 39: J528.606I nikkaji #> 40: 323588 bindingdb #> 41: 31883 bindingdb #> 42: DTXSID7021239 comptox #> 43: LMPR01090019 lipidmaps #> 44: 2722 drugcentral #> 45: MTBLC15367 metabolights #> 46: 6481 brenda #> 47: 12679 brenda #> 48: 21231 brenda #> 49: 2354 brenda #> 50: 5126 brenda #> 51: 193381 brenda #> 52: 260365 brenda #> 53: CB6222631 chemicalbook #> 54: TRETINOIN dailymed #> 55: EUDYNA clinicaltrials #> 56: TRETINOIN clinicaltrials #> 57: ABEREL clinicaltrials #> 58: RENOVA clinicaltrials #> 59: AVITA clinicaltrials #> 60: NSC-122758 clinicaltrials #> 61: VESANOID clinicaltrials #> 62: RETIN A clinicaltrials #> 63: RETIN-A clinicaltrials #> 64: RETINOIC ACID clinicaltrials #> 65: ALTRENO clinicaltrials #> 66: RENOVA rxnorm #> 67: AVITA rxnorm #> 68: TRETINOIN MICROSPHERE rxnorm #> 69: RETIN-A rxnorm #> 70: TRETINOIN rxnorm #> 71: ACTICIN rxnorm #> 72: ATRALIN rxnorm #> 73: ALTRENO rxnorm #> 74: HY-14649 MedChemExpress #> 75: PD001430 probes_and_drugs #> compoundID Name #> NameLong sourceID #> #> 1: ChEMBL 1 #> 2: DrugBank 2 #> 3: PDBe (Protein Data Bank Europe) 3 #> 4: Guide to Pharmacology 4 #> 5: PubChem ('Drugs of the Future' subset) 5 #> 6: KEGG (Kyoto Encyclopedia of Genes and Genomes) Ligand 6 #> 7: ChEBI (Chemical Entities of Biological Interest). 7 #> 8: NIH Clinical Collection 8 #> 9: ZINC 9 #> 10: eMolecules 10 #> 11: Gene Expression Atlas 12 #> 12: Gene Expression Atlas 12 #> 13: Gene Expression Atlas 12 #> 14: Gene Expression Atlas 12 #> 15: FDA/USP Substance Registration System (SRS) 14 #> 16: SureChEMBL 15 #> 17: SureChEMBL 15 #> 18: PharmGKB 17 #> 19: Human Metabolome Database (HMDB) 18 #> 20: Selleck 20 #> 21: PubChem ('Thomson Pharma' subset) 21 #> 22: PubChem ('Thomson Pharma' subset) 21 #> 23: PubChem Compounds 22 #> 24: NMRShiftDB 24 #> 25: Library of Integrated Network-based Cellular Signatures 25 #> 26: ACToR 26 #> 27: ACToR 26 #> 28: ACToR 26 #> 29: MolPort 28 #> 30: Nikkaji 29 #> 31: Nikkaji 29 #> 32: Nikkaji 29 #> 33: Nikkaji 29 #> 34: Nikkaji 29 #> 35: Nikkaji 29 #> 36: Nikkaji 29 #> 37: Nikkaji 29 #> 38: Nikkaji 29 #> 39: Nikkaji 29 #> 40: BindingDB 31 #> 41: BindingDB 31 #> 42: EPA (Environmental Protection Agency) CompTox Dashboard 32 #> 43: LipidMaps 33 #> 44: DrugCentral 34 #> 45: Metabolights 36 #> 46: Brenda 37 #> 47: Brenda 37 #> 48: Brenda 37 #> 49: Brenda 37 #> 50: Brenda 37 #> 51: Brenda 37 #> 52: Brenda 37 #> 53: ChemicalBook 39 #> 54: DailyMed 45 #> 55: clinicaltrials 46 #> 56: clinicaltrials 46 #> 57: clinicaltrials 46 #> 58: clinicaltrials 46 #> 59: clinicaltrials 46 #> 60: clinicaltrials 46 #> 61: clinicaltrials 46 #> 62: clinicaltrials 46 #> 63: clinicaltrials 46 #> 64: clinicaltrials 46 #> 65: clinicaltrials 46 #> 66: rxnorm 47 #> 67: rxnorm 47 #> 68: rxnorm 47 #> 69: rxnorm 47 #> 70: rxnorm 47 #> 71: rxnorm 47 #> 72: rxnorm 47 #> 73: rxnorm 47 #> 74: MedChemExpress 48 #> 75: Probes And Drugs 49 #> NameLong sourceID #> sourcURL #> #> 1: https://www.ebi.ac.uk/chembldb/compound/inspect/CHEMBL38 #> 2: http://www.drugbank.ca/drugs/DB00755 #> 3: http://www.ebi.ac.uk/pdbe-srv/pdbechem/chemicalCompound/show/REA #> 4: http://www.guidetopharmacology.org/GRAC/LigandDisplayForward?ligandId=2644 #> 5: http://pubchem.ncbi.nlm.nih.gov/substance/12014646 #> 6: http://www.genome.jp/dbget-bin/www_bget?C00777 #> 7: http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI%3A15367 #> 8: SAM002264647 #> 9: http://zinc15.docking.org/substances/ZINC000012358651 #> 10: https://www.emolecules.com/cgi-bin/more?vid=1934590 #> 11: http://www.ebi.ac.uk/gxa/query?conditionQuery=tretinoin #> 12: http://www.ebi.ac.uk/gxa/query?conditionQuery=retinoic acid #> 13: http://www.ebi.ac.uk/gxa/query?conditionQuery=all-trans retinoic acid #> 14: http://www.ebi.ac.uk/gxa/query?conditionQuery=9-cis retinoic-acid #> 15: https://precision.fda.gov/uniisearch/srs/unii/5688UTC01R #> 16: https://www.surechembl.org/chemical/SCHEMBL19091395 #> 17: https://www.surechembl.org/chemical/SCHEMBL3145 #> 18: https://www.pharmgkb.org/drug/PA164746900 #> 19: http://www.hmdb.ca/metabolites/HMDB0001852 #> 20: http://www.selleckchem.com/products/Tretinoin(Aberela).html #> 21: http://pubchem.ncbi.nlm.nih.gov/substance/14849563 #> 22: http://pubchem.ncbi.nlm.nih.gov/substance/14825303 #> 23: http://pubchem.ncbi.nlm.nih.gov/compound/444795 #> 24: http://nmrshiftdb.org/molecule/60021090 #> 25: http://identifiers.org/lincs.smallmolecule/LSM-42854 #> 26: http://actor.epa.gov/actor/chemical.xhtml?casrn=4759-48-2 #> 27: http://actor.epa.gov/actor/chemical.xhtml?casrn=302-79-4 #> 28: http://actor.epa.gov/actor/chemical.xhtml?casrn=187175-63-9 #> 29: https://www.molport.com/shop/molecule-link/MolPort-000-883-857 #> 30: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J2.378.058E #> 31: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J1.313.469C #> 32: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J623.910B #> 33: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J970.183D #> 34: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J1.518K #> 35: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J494.243D #> 36: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J690.379G #> 37: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J646.157C #> 38: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J646.158A #> 39: http://jglobal.jst.go.jp/en/redirect?Nikkaji_No=J528.606I #> 40: http://www.bindingdb.org/bind/chemsearch/marvin/MolStructure.jsp?monomerid=323588 #> 41: http://www.bindingdb.org/bind/chemsearch/marvin/MolStructure.jsp?monomerid=31883 #> 42: https://comptox.epa.gov/dashboard/DTXSID7021239 #> 43: http://www.lipidmaps.org/data/LMSDRecord.php?LMID=LMPR01090019 #> 44: http://drugcentral.org/drugcard/2722 #> 45: http://www.ebi.ac.uk/metabolights/MTBLC15367 #> 46: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=6481 #> 47: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=12679 #> 48: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=21231 #> 49: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=2354 #> 50: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=5126 #> 51: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=193381 #> 52: https://www.brenda-enzymes.org/ligand.php?brenda_ligand_id=260365 #> 53: https://www.chemicalbook.com/ChemicalProductProperty_EN_CB6222631 #> 54: https://dailymed.nlm.nih.gov/dailymed/search.cfm?adv=1&labeltype=human&query=ACTIVEMOIETY:(TRETINOIN)+OR+INGREDIENT:(TRETINOIN) #> 55: https://www.clinicaltrials.gov/ct2/results?cond=&term=EUDYNA #> 56: https://www.clinicaltrials.gov/ct2/results?cond=&term=TRETINOIN #> 57: https://www.clinicaltrials.gov/ct2/results?cond=&term=ABEREL #> 58: https://www.clinicaltrials.gov/ct2/results?cond=&term=RENOVA #> 59: https://www.clinicaltrials.gov/ct2/results?cond=&term=AVITA #> 60: https://www.clinicaltrials.gov/ct2/results?cond=&term=NSC-122758 #> 61: https://www.clinicaltrials.gov/ct2/results?cond=&term=VESANOID #> 62: https://www.clinicaltrials.gov/ct2/results?cond=&term=RETIN A #> 63: https://www.clinicaltrials.gov/ct2/results?cond=&term=RETIN-A #> 64: https://www.clinicaltrials.gov/ct2/results?cond=&term=RETINOIC ACID #> 65: https://www.clinicaltrials.gov/ct2/results?cond=&term=ALTRENO #> 66: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=846950 #> 67: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=215492 #> 68: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=221175 #> 69: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=153101 #> 70: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=10753 #> 71: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=214998 #> 72: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=728470 #> 73: https://mor.nlm.nih.gov/RxNav/search?searchBy=RXCUI&searchTerm=2055004 #> 74: https://www.medchemexpress.com/HY-14649 #> 75: https://www.probes-drugs.org/compound/PD001430 #> sourcURL #> #> $UniChem_Mappings #> $UniChem_Mappings$UniChem.UCI #> [1] 538323 #> #> $UniChem_Mappings$UniChem.InchiKey #> [1] \"SHGAZHPCJJPHSC-YCNIQYBTSA-N\" #> #> $UniChem_Mappings$UniChem.Inchi #> [1] \"InChI=1S/C20H28O2/c1-15(8-6-9-16(2)14-19(21)22)11-12-18-17(3)10-7-13-20(18,4)5/h6,8-9,11-12,14H,7,10,13H2,1-5H3,(H,21,22)/b9-6+,12-11+,15-8+,16-14+\" #> #> $UniChem_Mappings$UniChem.formula #> [1] \"C20H28O2\" #> #> $UniChem_Mappings$UniChem.connections #> [1] \"1-15(8-6-9-16(2)14-19(21)22)11-12-18-17(3)10-7-13-20(18,4)5\" #> #> $UniChem_Mappings$UniChem.hAtoms #> [1] \"6,8-9,11-12,14H,7,10,13H2,1-5H3,(H,21,22)\" #> #>"},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":null,"dir":"Reference","previous_headings":"","what":"Standardize Names — standardize_names","title":"Standardize Names — standardize_names","text":"function takes character vector standardizes names converting lowercase, removing trailing information comma, removing information within square brackets parentheses, removing non-alphanumeric characters, replacing empty names \"invalid\", converting names uppercase.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Standardize Names — standardize_names","text":"","code":"standardize_names(object)"},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Standardize Names — standardize_names","text":"object character vector containing names standardized.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Standardize Names — standardize_names","text":"character vector standardized names.","code":""},{"path":"https://bhklab.github.io/AnnotationGx/reference/standardize_names.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Standardize Names — standardize_names","text":"","code":"standardize_names(c(\"John Doe\", \"Jane Smith (Manager)\", \"Alice, PhD\")) #> [1] \"JOHNDOE\" \"JANESMITH\" \"ALICE\" # Output: [1] \"JOHNDOE\" \"JANESMITH\" \"ALICE\""},{"path":"https://bhklab.github.io/AnnotationGx/news/index.html","id":"annotationgx-development-version","dir":"Changelog","previous_headings":"","what":"AnnotationGx (development version)","title":"AnnotationGx (development version)","text":"Initial CRAN submission.","code":""}]