EVOLUTION-MANAGER
Edit File: as.igraph.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Conversion to igraph</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for as.igraph {igraph}"><tr><td>as.igraph {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Conversion to igraph</h2> <h3>Description</h3> <p>These functions convert various objects to igraph graphs. </p> <h3>Usage</h3> <pre> as.igraph(x, ...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>The object to convert.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Additional arguments. None currently.</p> </td></tr> </table> <h3>Details</h3> <p>You can use <code>as.igraph</code> to convert various objects to igraph graphs. Right now the following objects are supported: </p> <ul> <li><p> codeigraphHRG These objects are created by the <code><a href="fit_hrg.html">fit_hrg</a></code> and <code><a href="consensus_tree.html">consensus_tree</a></code> functions. </p> </li></ul> <h3>Value</h3> <p>All these functions return an igraph graph. </p> <h3>Author(s)</h3> <p>Gabor Csardi <a href="mailto:csardi.gabor@gmail.com">csardi.gabor@gmail.com</a>. </p> <h3>Examples</h3> <pre> g <- make_full_graph(5) + make_full_graph(5) hrg <- fit_hrg(g) as.igraph(hrg) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>