| as.igraph {igraph} | R Documentation |
These fucntions convert various objects to igraph graphs.
## S3 method for class 'igraphHRG' as.igraph(x, ...)
x |
The object to convert. |
... |
Additional arguments. None currently. |
You can use as.igraph to convert various objects to igraph
graphs. Right now the following objects are supported:
codeigraphHRG These objects are created by the
hrg.fit and hrg.consensus functions.
All these functions return an igraph graph.
Gabor Csardi csardi.gabor@gmail.com.
g <- graph.full(5) + graph.full(5) hrg <- hrg.fit(g) as.igraph(hrg)