scW.p.dendro: Plots the gene / module WGCNA tree, or trees

View source: R/plotting.R

scW.p.dendroR Documentation

Plots the gene / module WGCNA tree, or trees

Description

This function will help us plot the gene / module WGCNA tree.

Usage

scW.p.dendro(scWGCNA.data, tree = length(scWGCNA.data$moduletrees.history))

Arguments

scWGCNA.data

scWGCNA.data. An scWGCNA.data object, as calculated by run.scWGCNA().

tree

numeric. Which of all the trees in the iterations should be plotted?

Value

Plots the last / current gene / module WGCNA dendrogram. If a tree is specified, it returns that tree.

Examples


# A pre-calculated WGCNA data list
class(MmLimbE155.scWGCNA)

# Plot the last, and current WGCNA tree
scW.p.dendro(scWGCNA.data = MmLimbE155.scWGCNA)

# Plot the first WGCNA tree of the iteration
scW.p.dendro(MmLimbE155.scWGCNA, 1)


CFeregrino/scWGCNA documentation built on Nov. 21, 2022, 2:31 a.m.