Description Usage Arguments Value Author(s) Examples
Computes the relation between the modules and the phenotypes.
1 |
pnet |
The peptide net object |
phenotypes |
The matrix of traits |
returns a matrix of correlations between modules and phenotypes.
David L Gibbs
1 2 3 4 5 6 7 8 9 | data(ProCoNA_Data)
#net1 <- buildProconaNetwork("peptide network", peptideData, pow=13)
n <- length(samples(net1))
phenotypes <- matrix(rnorm(10*n), nrow=60)
m <- modulePhenotypeCorrelations(net1, phenotypes)
# To plot the heatmap:
# moduleCors <- correlationWithPhenotypesHeatMap(net1, phenotypes, modules = 1:5,
# plot = NULL, 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.