get_louvain_communities {mosbi} | R 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_net`object.
`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)

[Package mosbi version 1.0.3 Index]