build_graph_from_sq_mat {GWENA} | R Documentation

## Return graph from squared matrix network

### Description

Takes a squared matrix containing the pairwise similarity scores for each gene and return a igraph object.

### Usage

    build_graph_from_sq_mat(sq_mat)

### Arguments

`sq_mat` | matrix or data.frame, squared matrix representing

### Value

An igraph object

### Examples

    mat <- matrix(runif(40*40), 40)
    build_graph_from_sq_mat(mat)

[Package GWENA version 1.2.0 Index]