README.md

R/GNapi - R package to connect to the GeneNetwork API

R-CMD-check

Installation

You can install R/GNapi from GitHub.

You first need to install the remotes package.

install.packages("remotes")

Then use remotes::install_github() to install R/GNapi.

library(remotes)
install_github("rqtl/GNapi")

Usage

For an understanding of the GeneNetwork API, see its documentation, as well as Zachary Sloan's tutorial.

The R/GNapi package has a set of functions for connecting to the GeneNetwork API to grab different bits of information or data.

For further examples, see the online vignette, which is also available from within R:

vignette("GNapi")

Note that we enforce a delay between calls to the API, to slow repeated calls within a loop. The default is 1 sec; it can be controlled with the option GNapi_delay. For example, to make the delay 0.5 seconds, use:

options(GNapi_delay=0.5)

License

R/GNapi is released under the MIT license.



kbroman/GNapi documentation built on July 29, 2023, 10:10 a.m.