# An R script to use API for fetching "Associated studies: locus-to-gene pipeline" section for a gene

**URL:** <https://community.opentargets.org/t/an-r-script-to-use-api-for-fetching-associated-studies-locus-to-gene-pipeline-section-for-a-gene/1135>\
**Category:** GraphQL API\
**Created:** [5 July 2023 09:51 UTC](https://community.opentargets.org/t/an-r-script-to-use-api-for-fetching-associated-studies-locus-to-gene-pipeline-section-for-a-gene/1135 "2023-07-05T09:51:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![irene](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/irene/32/50_2.png) [@irene](https://community.opentargets.org/u/irene)\
**Post date:** [11 August 2023 08:46 UTC](https://community.opentargets.org/t/an-r-script-to-use-api-for-fetching-associated-studies-locus-to-gene-pipeline-section-for-a-gene/1135/4 "2023-08-11T08:46:00Z")

</div>

This has been solved here [Sample R script to query GraphQL API - #5 by irene](https://community.opentargets.org/t/sample-r-script-to-query-graphql-api/510/5)

---

_[View the full topic](https://community.opentargets.org/t/an-r-script-to-use-api-for-fetching-associated-studies-locus-to-gene-pipeline-section-for-a-gene/1135)._
