Network heatmap plot.
plotNetworkHeatmap(
datExpr,
plotGenes,
weights = NULL,
useTOM = TRUE,
power = 6,
networkType = "unsigned",
main = "Heatmap of the network")
a data frame containing expression data, with rows corresponding to samples and columns to genes. Missing values are allowed and will be ignored.
a character vector giving the names of genes to be included in the plot. The names
will be matched against names(datExpr)
.
optional observation weights for datExpr
to be used in correlation calculation.
A matrix of the same dimensions as datExpr
, containing non-negative weights. Only used with Pearson
correlation.
logical: should TOM be plotted (TRUE
), or correlation-based adjacency
(FALSE
)?
soft-thresholding power for network construction.
a character string giving the newtork type. Recognized values are (unique
abbreviations of) "unsigned"
, "signed"
, and "signed hybrid"
.
main title for the plot.
None.
The function constructs a network from the given expression data (selected by plotGenes
) using
the soft-thresholding procedure, optionally calculates Topological Overlap (TOM) and plots a heatmap of
the network.
Note that all network calculations are done in one block and may fail due to memory allocation issues for large numbers of genes.
Bin Zhang and Steve Horvath (2005) "A General Framework for Weighted Gene Co-Expression Network Analysis", Statistical Applications in Genetics and Molecular Biology: Vol. 4: No. 1, Article 17