Description Usage Arguments Details Value Author(s) Examples
BioFabric requires nodes have names. This will do it!
1 | autoNameForFabric(inGraph)
|
inGraph |
The graph to name, in igraph format (see
|
BioFabric requires that all nodes have names. If network is named, there is no change. If nodes are unnamed but have the attribute "label", that attribute is copied into the "name" attribute. Otherwise, names of the form "BFn" are formed, where n is the index of the node.
The provided graph with nodes named
Bill Longabaugh <wlongabaugh@systemsbiology.org>
1 2 3 4 5 6 7 8 | ## Not run:
library(igraph)
bfGraph = graph.tree(20, children=2, mode="out")
bfGraph <- autoNameForFabric(bfGraph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.