Skip to content

abifromr/stitchapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis build status AppVeyor build status Codecov test coverage

stitchapi

An R client for STITCH API (STRING v10)

Overview

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.

Installing stitchapi

The package can be installed using devtools

devtools::install_github('MahShaaban/stitchapi')

Getting started

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)

Acknowledgement

  • 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.

Releases

No releases published

Packages

No packages published

Languages