Description Usage Arguments Value Author(s) Examples
Plots a heatmap showing the Pearson correlation of modules with phenotypes.
1 2 | correlationWithPhenotypesHeatMap(net, phenotypes, modules,
plotName, title, textSize)
|
net |
The ProCoNA network object. |
phenotypes |
Matrix of phenotypic traits, can include character strings (converted to factors). |
modules |
Vector of modules to plot. Default is all modules. |
plotName |
Name of the saved plot, NULL to show on screen. |
title |
Plot title. |
textSize |
The font size of the correlations shown in each module-phenotype pair. |
the module eigenvector correlations
David L Gibbs
1 2 3 4 5 6 | data(ProCoNA_Data)
#net1 <- buildProconaNetwork("pepnet", peptideData, pow=12)
n <- length(samples(net1))
phenotypes <- matrix(rnorm(10*n), nrow=60)
moduleCors <- correlationWithPhenotypesHeatMap(net1, phenotypes, modules = 1:7,
plotName = "Phenotype Associations", title = "Module-trait relationships", textSize = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.