read.weight_matrix {WGCNA} R Documentation

read the TOM correlation network matrix file

Description

Usage

read.weight_matrix(file,
    threshold = 0,
    prefix = NULL,
    as.matrix = FALSE);

Arguments

file

-

threshold

[as double]

prefix

a prefix to the fromNode and toNode id. [as string]

Details

imports a network edge table file that export from WGCNA TOM module, with data headers:

fromNode

toNode

weight

direction

fromAltName

toAltName

Authors

phenotype_kit

Value

this function returns data object in these one of the listed data types: WGCNAWeight, DataMatrix.

clr value class

Examples


[Package WGCNA version 1.0.0.0 Index]