| .create_cograph_network | R Documentation |
Internal constructor that creates a cograph_network object with the unified format. Both cograph() and as_cograph() use this to ensure identical output.
.create_cograph_network(
nodes,
edges,
directed,
meta = list(),
weights = NULL,
data = NULL,
node_groups = NULL,
type = NULL
)
nodes |
Data frame with node information (id, label, x, y, ...). |
edges |
Data frame with edge information (from, to, weight). |
directed |
Logical. Is the network directed? |
meta |
List with consolidated metadata: source, layout, tna sub-fields. |
weights |
Full n×n weight matrix for TNA compatibility, or NULL. |
data |
Original estimation data (sequence matrix, edge list, etc.), or NULL. |
node_groups |
Optional node groupings data frame. |
A cograph_network object (named list with class).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.