get_louvain_communities: Get louvain communities from a bicluster network

get_louvain_communitiesR Documentation

Get louvain communities from a bicluster network

Description

Extracts the louvain communities from a bicluster_net or cooccurrence_net object using the louvain modularity optimization from the igraph package (cluster_louvain).

Usage

get_louvain_communities(bic_net, min_size = 2, bics = NULL)

Arguments

bic_net

A bicluster_net or cooccurrence_netobject.

min_size

Minimum size of a louvain community to be returned (minimum value is 2).

bics

Optional. Is only use for the class bicluster_net. The respective list of biclusters to identify, from which algorithms a community originates.

Value

A list of bicluster_net or cooccurrence_net objects.

Examples

m <- matrix(seq(1:16), nrow=4)
# m <- matrix(rnorm(10000), nrow=100)
# bics <- c(run_fabia(m), run_isa(m), run_plaid(m))
# bn <- bicluster_network(bics, m)
# get_louvain_communities(bn)


tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.