# R-API code to get full MONDO and DOID ID with human disease/traits

**URL:** <https://community.opentargets.org/t/r-api-code-to-get-full-mondo-and-doid-id-with-human-disease-traits/1485>\
**Category:** GraphQL API\
**Tags:** ot-platform\
**Created:** [16 July 2024 20:45 UTC](https://community.opentargets.org/t/r-api-code-to-get-full-mondo-and-doid-id-with-human-disease-traits/1485 "2024-07-16T20:45:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shicheng\_Guo](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/shicheng_guo/32/217_2.png) [@Shicheng\_Guo](https://community.opentargets.org/u/Shicheng_Guo)\
**Post date:** [16 July 2024 20:45 UTC](https://community.opentargets.org/t/r-api-code-to-get-full-mondo-and-doid-id-with-human-disease-traits/1485/1 "2024-07-16T20:45:00Z")

</div>

Dear All,

Could anyone share R-API code to retrieve the full MONDO and DOID IDs along with associated human diseases/traits from the Open Targets annotation database?

Do we have the following full table?

The final tables I want to received are:

Table for MONDO ID and Disease  
Table for DOID ID and Disease  
Table for UBERON ID and Tissue  
Table for Cell Ontology ID and Cell Type

Thanks,

Shicheng
