A utility function to convert tab delimited networks file into adjacency matrices

Description

A utility function to convert tab-delimited networks file into adjacency matrices

Usage

1
get.adjacency.matrix(subnets.file = NULL);

Arguments

subnets.file

A tab-delimited file containing networks. New networks start with a new line with '#' at the begining of network name and subsequent lines contain a binary interaction per line

Value

A list of adjacency matrices

Author(s)

Syed Haider

Examples

1
2
subnets.file <- get.program.defaults()[["subnets.file"]];
all.adjacency.matrices <- get.adjacency.matrix(subnets.file);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.