Simplify Your Data Retrieval and Analysis from Open Target Genetics ✨

otargen is an innovative and open-source R package designed to streamline data retrieval and analysis from the renowned Open Target Genetics portal. With otargen, harnessing the power of Open Target Genetics becomes effortless within the familiar R programming environment.

Effortless Data Retrieval πŸš€

Retrieve data effortlessly with a comprehensive suite of functions that cover all GraphQL query types in the Open Target Genetics schema. Say goodbye to complex queries with nested output and hello to clean, tidy data tables ready for analysis.

Insightful Visualizations πŸ“ˆ

Use several intuitive plotting functions for multiple important and complex outputs from otargen’s data retrieval functions. This allows to visualize and explore these complex data tables effortlessly, gaining valuable insights and uncovering patterns that matter.

Detailed Documentation πŸ“–

Each function in otargen comes with detailed documentation, providing insights into the underlying GraphQL query and the structure of the returned data. You’ll have a clear understanding of how to use each function and how to interpret the results, making integration with your analysis seamless and straightforward.

Continuous Development πŸ‘¨β€πŸ’»

Open Target Genetics is continuously upgrading its data and functionalities, and otargen is committed to keeping up with these changes. We strive to provide regular updates and improvements to ensure that you always have access to the latest features and data.

We welcome contributions from the community to enhance and expand otargen. Whether it’s submitting bug reports, suggesting new features, or contributing code, your contributions are valuable and appreciated. Please check otargen on GitHub.

Get Started with otargen!

Install otargen from CRAN:


Or install the latest development version from GitHub (requires devtools package):

if (!require("devtools")) {