build_graph_from_sq_mat: Return graph from squared matrix network

View source: R/topology.R

build_graph_from_sq_matR 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)


Kumquatum/GWENA documentation built on July 7, 2023, 3:41 p.m.