show_network | R Documentation |
This function takes an OmniPath interaction data frame as input and returns a sigmaJS object for the subgraph formed by the neighbors of a node of interest.
show_network(interactions, node = NULL)
interactions |
An OmniPath interaction data frame. |
node |
The node of interest. |
A sigmaJS object, check http://sigmajs.john-coene.com/index.html for further details and customization options.
## Not run:
# get interactions from omnipath
interactions <- omnipath()
# create and plot the network containing ATM neighbors
viz_sigmajs_neighborhood(interactions_df = interactions, int_node = "ATM")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.