Description Details Author(s) Examples
The ndexr package offers an interface to NDEx servers, e.g. the public server at http://ndexbio.org/. It can retrieve and save networks via the API. Networks are offered as RCX object and as igraph representation.
Package: | ndexr |
Type: | Package |
Version: | 2.0.7 |
Date: | 2016-12-02 |
License: | TBD |
Frank Kramer frank.kramer@med.uni-goettingen.de
Florian Auer florian.auer@med.uni-goettingen.de
Alex Ishkin aleksandr.ishkin@thomsonreuters.com
Dexter Pratt depratt@ucsc.edu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
require(ndexr)
###connect anonymously
ndexcon1 = ndex_connect(verbose=T)
###get network api
apidata1 = ndex_get_network.api(ndexcon1)
###find some networks containing p53
pws1 = ndexr::ndex_find_networks(ndexcon1,"p53")
###get complete network as RCX
rcx1 = ndex.get.complete.network(ndexcon1,pws1[1,"externalId"])
###convert to rcxgraph and back
rcxgraph1 = rcx_toRCXgraph(rcx1)
plot(rcxgraph1, vertex.label=V(rcxgraph1)$n, edge.label=E(rcxgraph1)$i)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.