Description Usage Arguments Value Examples
The associations in each module are taken as partial correlations, and the covariance matrix is calculated from these assuming that expression for gene i is the weighted average over each module using 1/sqrt(m_i) as the weight, where m_i is the number of modules containing gene i.
1 2 |
x |
Either a 'network', 'network_module', or 'matrix' object. |
... |
Additional arguments. |
A covariance matrix.
1 2 3 4 5 6 7 | # Create a random network with 10 nodes and add random edge weights.
nw <- random_network(10)
nw <- gen_partial_correlations(nw)
# Get covariance matrix for the network or individual modules in the network.
get_sigma(nw)
module <- nw$modules[[1]]
get_sigma(module)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.