| CorrelationNetwork-class | R Documentation |
A class for representing networks of pairwise correlations. A network is composed of nodes and links (edges, connections, etc.). A link is represented as a pair of nodes, with attributes such as correlationCoef and pValue (see Link). To represent a network, we need both the list of links in the network and a list of nodes in case some nodes have no links. A network can also have properties such as directedness, levels, colors, etc. (coming soon).
linksCorrelationLinkList object defining the links in the network.
nodesNodeList object defining the nodes in the network. Some nodes may not have any links.
linkColorSchemestring defining the type of coloring scheme the links follow. Options are 'none' (default) and 'posneg'. In the case of 'posneg', the links color slot will be set to 1 if the link is positive, and -1 if the link is negative. Use a method assignLinkColors() to assign colors to links and set this slot's value.
variableMappingveupathUtils::VariableMetadataList object defining the variable mappings in the network.
correlationCoefThresholdnumeric defining the correlation coefficient threshold for filtering links. Default is NA (no filtering). Any link with an absolute correlation coefficient below this threshold will be filtered out.
pValueThresholdnumeric defining the p-value threshold for filtering links. Default is NA (no filtering). Any link with an p-value above this threshold will be filtered out.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.