Description Usage Arguments Value Note See Also Examples
dDAGreverse
is supposed to reverse the edge direction of a
direct acyclic graph (DAG; an ontology). The return graph remains all
attributes associated on nodes and edges.
1 | dDAGreverse(g)
|
g |
an object of class "igraph" or "graphNEL" |
gr
: a graph being reversed, an object of class "igraph" or
"graphNEL"
none
1 2 3 4 5 6 7 | # 1) load HPPA as igraph object
ig.HPPA <-dRDataLoader(RData='ig.HPPA')
g <- ig.HPPA
# 2) the graph with reverse edge direction
gr <- dDAGreverse(g)
gr
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.