Converts an annotated igraph object to graphNEL

toGraphNEL(graph, export.attr = "")

Arguments

graph

An annotated igraph object..

export.attr

A regex experssion representing vertex attributes to be exported to the new graphNEL object. Supplying an empty string "" (default) will export all attributes.

Value

A graphNEL object.

Author

Ahmed Mohamed

Examples

  data(ex_kgml_sig)  # Ras and chemokine signaling pathways in human
 graphNEL <- toGraphNEL(ex_kgml_sig, export.attr="^miriam.")
#> Loading required namespace: graph
#> This graph was created by an old(er) igraph version.
#>  Call `igraph::upgrade_graph()` on it to use with the current igraph version.
#> For now we convert it on the fly...