dDAGroot: Function to find the root node of a direct acyclic graph...

Description Usage Arguments Value Note See Also Examples

Description

dDAGroot is supposed to find the root node of a direct acyclic graph (DAG; an ontology). It return the name (i.e Term ID) of the root node.

Usage

1

Arguments

g

an object of class "igraph" or "graphNEL"

Value

Note

none

See Also

dDAGroot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# 1) load HPPA as igraph object
ig.HPPA <-dRDataLoader(RData='ig.HPPA')
g <- ig.HPPA

# 2) find the root
root <- dDAGroot(g)
root

## End(Not run)

dnet documentation built on Feb. 20, 2020, 5:08 p.m.

Related to dDAGroot in dnet...