xSimplifyNet
is supposed to simplify networks from an igraph
object by keeping root-tip shortest paths only.
xSimplifyNet(g, verbose = TRUE)
an "igraph" object
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"
# NOT RUN {
# Load the library
library(XGR)
# }
# 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)
# }
Run the code above in your browser using DataLab