Description Usage Arguments Value Note See Also Examples
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.
1 | dDAGroot(g)
|
g |
an object of class "igraph" or "graphNEL" |
root
: the root name (i.e. Term ID)
none
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.