xSimplifyNet | R Documentation |
xSimplifyNet
is supposed to simplify networks from an igraph
object by keeping root-tip shortest paths only.
xSimplifyNet(g, verbose = TRUE)
g |
an "igraph" object |
verbose |
logical to indicate whether the messages will be displayed in the screen. By default, it sets to true for display |
an object of class "igraph"
none
xSimplifyNet
## Not run:
# Load the library
library(XGR)
## End(Not run)
RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run:
g <- xRDataLoader(RData.customised='ig.DO',
RData.location=RData.location)
ig <- xSimplifyNet(g)
## End(Not run)