xSimplifyNet: Function to simplify networks from an igraph object

Description Usage Arguments Value Note See Also Examples

Description

xSimplifyNet is supposed to simplify networks from an igraph object by keeping root-tip shortest paths only.

Usage

1
xSimplifyNet(g, verbose = TRUE)

Arguments

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

Value

an object of class "igraph"

Note

none

See Also

xSimplifyNet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

XGR documentation built on June 18, 2019, 3:01 p.m.

Related to xSimplifyNet in XGR...