powered by
inducedGraph(dag, startNodes) nodesInInducedGraph(dag, startNodes)
graphNEL
graphNEL-class
topGOdata-class
reverseArch
data(GOdata) ## the GO graph g <- graph(GOdata) g ## select 10 random nodes sn <- sample(nodes(g), 10) ## the subgraph induced by these nodes sg <- inducedGraph(g, sn) sg
Run the code above in your browser using DataLab