plot_algo_network: Plot a bicluster network colored by algorithms.

View source: R/bicluster_net_methods.R

plot_algo_networkR Documentation

Plot a bicluster network colored by algorithms.

Description

In the plot each bicluster is colored by the algorithm, that generated it.

Usage

plot_algo_network(bic_net, bics, new_layout = TRUE, ...)

Arguments

bic_net

A bicluster_net object.

bics

The corresponding list of biclusters from bic_net.

new_layout

If FALSE, the plot accepts a network layout as a parameter, other wise a new layout is computed.

...

Plot parameters forwarded to igraph::plot.igraph After calculating communities with get_louvain_communities it is necessary to get the subset of biclusters using select_biclusters_from_bicluster_network.

Value

If new_layout, a new network layout is returned that can be used for other plots.

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)
# plot_algo_network(bn, bics)


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