build_binary_network: Builds a binary network

Description Usage Arguments Value Examples

View source: R/build_binary_network.R

Description

The function creates a gene-by-gene matrix with binary entries indicating interaction (1) or no interaction (0) between the genes.

Usage

1

Arguments

data

2-column matrix, each row a pair indicating a relationship or interaction

list

string array of genes/labels/ids

Value

net matrix binary characterizing interactions

Examples

1
2
3
data <- cbind(edgeA=c('gene1','gene2'),edgeB=c('gene3','gene3'))
list <- c('gene1','gene2','gene3')
network <- build_binary_network(data,list)

EGAD documentation built on Nov. 8, 2020, 8:31 p.m.