An R client for BIOGRID API
Provide a set of functions to interact with the BIOGRID API in R.
The package can be installed using devtools
devtools::install_github('abifromr/biogridapi')
A simple example to show how the package works is to contrast with an example query using curl
.
curl https://webservice.thebiogrid.org/interactions?searchNames=true&geneList=MDM2&includeInteractors=true&includeInteractorInteractions=false&taxId=9606&accesskey=[ACCESSKEY]
This would look like the following using biogridapi
accessKey=<'32 alphanumeric string'>
interactions(accessKey=accessKey,
geneList = 'DM2',
searchNames = TRUE,
includeInteractors = TRUE,
taxId = 9606)
For this example to work using either curl
or biogridapi
an accessKey
is
needed from here.