Learn R Programming

SIMMS (version 1.3.2)

get.adjacency.matrix: 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

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

Examples

Run this code
# NOT RUN {
subnets.file <- get.program.defaults()[["subnets.file"]];
all.adjacency.matrices <- get.adjacency.matrix(subnets.file);

# }

Run the code above in your browser using DataLab