powered by
These functions convert various objects to igraph graphs.
as.igraph(x, ...)
All these functions return an igraph graph.
The object to convert.
Additional arguments. None currently.
Gabor Csardi csardi.gabor@gmail.com.
You can use as.igraph to convert various objects to igraph graphs. Right now the following objects are supported:
as.igraph
codeigraphHRG These objects are created by the fit_hrg and consensus_tree functions.
fit_hrg
consensus_tree
g <- make_full_graph(5) + make_full_graph(5) hrg <- fit_hrg(g) as.igraph(hrg)
Run the code above in your browser using DataLab