Description Usage Arguments Value
This function generate the igraph object based on the given interactions. The weight of each edge is determined as the heat differences between the two interacting vertices.
1 | weightedGraph(links = interactions_brain, directed = FALSE, heat = NULL)
|
links |
A two-column matrix or data frame, with each row representing one interaction |
directed |
Whether the interactions are directed |
heat |
A numeric vector representing vertices' heat |
A igraph object representing the interaction network. Edges are weighted accordingly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.