change_network_format: Change Network Format

Description Usage Arguments Examples

View source: R/change_network_format.R

Description

This function changes a network from an adjecy matrix to an edgelist matrix and viceversa

Usage

1

Arguments

net

matrix containing the network in the from of adjaceny matrix or edgelist

ng

Total number of genes of the network. Defaults to NULL.

Examples

1
2
3
net <- matrix(rnorm(100),10,10)
Edge_list <- change_network_format(net)
net2 <- change_network_format(Edge_list)

paubellot/DREAM_Evaluation documentation built on May 24, 2019, 8:22 p.m.