Is there anyway to get BioGrid gene interaction network automatically using R?
2
2
Entering edit mode
9.1 years ago
Na Sed ▴ 310

Is there anyway to get BioGrid gene interaction network automatically using R?

BioGrid gene interaction network R • 5.0k views
ADD COMMENT
4
Entering edit mode
9.1 years ago
Rajarshi Guha ▴ 880

Coincidence! I've just been putting together an R client for BioGRID. Very rough initial version is at https://github.com/rajarshi/cdkr/tree/master/rbiogrid. To install

library(devtools)
install_github("cdkr", "rajarshi", subdir="rbiogrid")

You will need to get an access key from the BioGRID website. Right now it has no tests and has basic functionality to get interactions by gene names. It sets a number of arguments by default (e.g., selfInteractionsExcluded = TRUE, includeInteractorInteractions = FALSE) - you can view the source of the function to see them.

Example usage is

library(rbiogrid)
set.access.key('XXXX')
get.interactions('PLK1')
ADD COMMENT
0
Entering edit mode

Thank you.

When I am trying to run the code, I get this error:

Error in function (type, msg, asError = TRUE)  :
  Failed to connect to webservice.thebiogrid.org port 80: Timed out

Do you know why this happens?

ADD REPLY
0
Entering edit mode

Not sure. The code works fine from here. Does http://webservice.thebiogrid.org/ resolve properly?

ADD REPLY
2
Entering edit mode
ADD COMMENT

Login before adding your answer.

Traffic: 1973 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6