plot_dendro_and_cons_colors {BioNERO}R Documentation

Plot dendrogram of genes and consensus modules

Description

Plot dendrogram of genes and consensus modules

Usage

plot_dendro_and_cons_colors(consensus)

Arguments

consensus

Consensus network returned by consensus_modules.

Value

A base plot with the gene dendrogram and modules.

Examples

set.seed(12)
data(zma.se)
filt.zma <- filter_by_variance(zma.se, n=500)
zma.set1 <- filt.zma[, sample(colnames(filt.zma), size=20, replace=FALSE)]
zma.set2 <- filt.zma[, sample(colnames(filt.zma), size=20, replace=FALSE)]
list.sets <- list(zma.set1, zma.set2)
# SFT power previously identified with consensus_SFT_fit()
cons_mod <- consensus_modules(list.sets, power = c(11, 13),
                              cor_method = "pearson")
plot_dendro_and_cons_colors(cons_mod)

[Package BioNERO version 1.2.0 Index]