Description Usage Arguments Details Value Author(s) Examples

These fucntions convert various objects to igraph graphs.

1 |

`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

`fit_hrg`

and`consensus_tree`

functions.

All these functions return an igraph graph.

Gabor Csardi csardi.gabor@gmail.com.

1 2 3 | ```
g <- make_full_graph(5) + make_full_graph(5)
hrg <- fit_hrg(g)
as.igraph(hrg)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.