exportMultinets: Export Network Communities

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Export network communities according to clustering of edge weights

Usage

1
exportMultinets(g, n = 5, steps = 4, rewire = FALSE, simplify = TRUE)

Arguments

g

The reference network with weights assigned to edges.

n

Number of subnetworks to take in the initial partition.

steps

The length of the random walks to perform.

rewire

Logical whether rewiring edges of the graph is needed, set TRUE only if you want to validate the robustness of the communities.

Details

The network must have weights assigned to the edges using edgeRank before running this function. The function selected top n ranking communities in the initial partition, and further breaks up the largest three network with another round of random walks. The subnetworks are sorted by the mean weights of all the nodes.

Value

A list of subnetworks sorted by the mean weights of all the nodes.

Author(s)

Qi Wang

See Also

edgeRank

Examples

1
2
3
4
data(hprd)
data(sample)
g <- edgeRank(res$pg, hprd, cutoff=0.9, min=1e-7)
gs <- exportMultinets(g, n = 15, rewire = FALSE)

qwang-big/irene documentation built on May 23, 2019, 1:47 p.m.