dDAGroot {dnet} | R Documentation |
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.
dDAGroot(g)
g |
an object of class "igraph" or "graphNEL" |
root
: the root name (i.e. Term ID)
none
## 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)