R client package for Open Targets REST API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
scripts
tests
vignettes
.DS_Store
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
ropentargets.Rproj

README.md

ropentargets

R client package for Open Targets REST API.

!!! IMPORTANT !!! This is R client was originally written by Open Targets but is no longer maintained by us, rather by our community. Please use it at your own risk.

As an alternative, we strongly encourage using our Python client instead https://github.com/opentargets/opentargets-py

Getting started

First, you need to install the devtools package. You can do this from CRAN. Invoke R and then type

install.packages("devtools")

Load the devtools package and install from github directly

library(devtools)
install_github("cttv/ropentargets")

Then head to the scripts folder and try running any of the examples contained there.

Each class is also documented, so for example to read the documentation for the Gene class, type:

?ropentargets::Gene