dDAGreverse: Function to reverse the edge direction of a direct acyclic...

Description Usage Arguments Value Note See Also Examples

Description

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.

Usage

1

Arguments

g

an object of class "igraph" or "graphNEL"

Value

Note

none

See Also

dDAGreverse

Examples

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

hfang-bristol/dnet documentation built on Feb. 23, 2020, 2:06 p.m.