Skip to content

abifromr/stringapi

Repository files navigation

Travis build status AppVeyor build status Codecov test coverage

stringapi

An R client for STRING API

Overview

Provide a set of functions to interact with the STRING API in R. The functions are organized a round the API database and request/method types. The query parameters are checked and the output is returned in a tibble.

Installing stringapi

The package can be installed using devtools

devtools::install_github('abifromr/stringapi')

Getting started

A simple example to show how the package works is to contrast with an example query using curl

curl https://string-db.org/api/tsv/get_string_ids?identifiers=p53%0dcdk2&species=9606

This would look like the following using stringapi

get_string_ids(identifiers = c('p53', 'dcdk2'),
               species = 9606)

Acknowledgement

  • This implementation is based on the STRING API v11 documentation, here.
  • Best practices for API packages guide was a very useful resource,here

Releases

No releases published

Packages

No packages published

Languages