as.loongraph | R Documentation |
Sometimes it is simpler to work with objects of class loongraph than to work with object of class graph.
as.loongraph(graph)
graph |
object of class graph (defined in the graph library) |
See https://www.bioconductor.org/packages/release/bioc/html/graph.html for more information about the graph R package.
For more information run: l_help("learn_R_display_graph.html.html#graph-utilities")
graph object of class loongraph
if (requireNamespace("graph", quietly = TRUE)) {
graph_graph = graph::randomEGraph(LETTERS[1:15], edges=100)
loon_graph <- as.loongraph(graph_graph)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.