select_biclusters_from_bicluster_network {mosbi} | R Documentation

## Create a subset of biclusters based on a bicluster network

### Description

The function returns an adapted bicluster list based on a `bicluster_net` object. This might be necessary e.g. after `get_louvain_communities` was used a community consists only of a subset of the biclusters.

### Usage

    select_biclusters_from_bicluster_network(bic_net, bics)

### Arguments

`bic_net` | A `bicluster_net`.
`bics` | A list of `bicluster` objects as returned by `get_biclusters`.

### Value

A subsetted list of `bicluster` 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)
    # lc <- get_louvain_communities(bn)
    # select_biclusters_from_bicluster_network(lc[[1]], bics)

[Package mosbi version 1.0.3 Index]