| plot_dendro_and_cons_colors {BioNERO} | R Documentation |
Plot dendrogram of genes and consensus modules
plot_dendro_and_cons_colors(consensus)
consensus |
Consensus network returned by |
A base plot with the gene dendrogram and modules.
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)