loon (version 1.4.1)

as.loongraph: Convert a graph object to a loongraph object

Description

Sometimes it is simpler to work with objects of class loongraph than to work with object of class graph.

Usage

as.loongraph(graph)

Value

graph object of class loongraph

Arguments

graph

object of class graph (defined in the graph library)

Details

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")

Examples

Run this code
if (requireNamespace("graph", quietly = TRUE)) {
  graph_graph  = graph::randomEGraph(LETTERS[1:15], edges=100)
  loon_graph <- as.loongraph(graph_graph)
}

Run the code above in your browser using DataLab