View source: R/vizConnectome.R
| edgelist | R Documentation |
Listing the edges in a connectogram.
edgelist(data)
data |
a vector of edge values with a length of 4005, 7021, 23871 or 30135. |
This function takes a vector of edge-to-edge connections, and returns a data.frame object containing the edges (defined by their pair of connecting nodes) and their edge values
a data.frame() object with the columns of node_1, node_2 and weight columns
results=sample(c(1,0, -1), 7021, replace = TRUE, prob = c(0.01, 0.98,0.01))
edgelist(data=results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.