| as_igraph | R Documentation |
Convert a Basin Graph to igraph
as_igraph(gflow.graph, include.vertex.attrs = TRUE, include.edge.attrs = TRUE)
gflow.graph |
A basin graph list with adjacency, weight, intersection, and basin metadata fields. The argument name is retained for backward compatibility. |
include.vertex.attrs |
Logical; include basin metadata as vertex attributes. |
include.edge.attrs |
Logical; include edge weights and intersection sizes as edge attributes. |
An igraph object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.