An R client for STITCH API (STRING v10)
Provide a set of functions to interact with the
STITCH API (STRING v10) in R.
The functions are organized a round the API request types. The query parameters
are checked and the output is returned in a tibble
.
The package can be installed using devtools
devtools::install_github('MahShaaban/stitchapi')
A simple example to show how the package works is to contrast with an example query using curl
curl http://stitch.embl.de/api/tsv/resolve?identifier=ADD&species=9606
This would look like the following using stitchapi
get_resolve(identifier = 'ADD',
species = 9606)
- This implementation is based on the STRING/STITCH API documentation, here.
- Best practices for API packages guide was a very useful resource, here
Note: STITCH was built on top of the STRING database and can only be accessed using v10 of its API. This API can only access the old STRING data, for a newer version check, here.