Build a graph object from WGCNA result
Usage
build_graph_from_wgcna(
wgcna_tom,
module = NULL,
node_annotation = NULL,
directed = F,
seed = 1115
)
Arguments
- wgcna_tom
WGCNA TOM matrix.
- module
Module data frame
- node_annotation
Data Frame
The annotation file of nodes in network
- directed
Logical (default: FALSE).
Whether edges between nodes are directed.
- seed
nteger (default = 1115).
Random seed for reproducibility.
Value
An graph object representing the correlation network.
Node/edge attributes from WGCNA TOM matrix (optionally) module labels.