reverseArch {topGO} | R Documentation |
TODO: Simple function to invert the direction of edges in an directed graph. The returned graph is of class graphNEL. It can use either simple matrices or sparse matrices (SparseM library)
reverseArch(dirGraph, useAlgo = "sparse", useWeights = TRUE)
dirGraph |
The graph to be transformed |
useAlgo |
"sparse" or "normal" |
useWeights |
If weights should be used (if useAlgo = 'normal' that the weigths are used anyway) |
~~ If necessary, more details than the description above ~~
An object of class graphNEL-class
is returned.
Adrian Alexa
buildLevels
,
mapGenes2GOgraph
,
inducedGraph
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets.