build_graph_from_sq_mat: Return graph from squared matrix network

Description Usage Arguments Value Examples

View source: R/topology.R

Description

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

Usage

1

Arguments

sq_mat

matrix or data.frame, squared matrix representing

Value

An igraph object

Examples

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

GWENA documentation built on Feb. 17, 2021, 2:01 a.m.