Read undirected interactions from csv and create the interaction list

Description

This function reads the undirected interactions from a csv file and creates the interaction list. The csv file must contain two names: first gene/protein name, second the interactor.

Usage

1
readUndirectedInteractionsFromCsv(fileName, sepValue, headerValue)

Arguments

fileName

name of the CSV file containing te interactions

sepValue

the same as "sep" in read.csv function,it is the value of the field separator character.

headerValue

whether the CSV file has a header or not, TRUE if the file has a header row, FALSE otherwise

Value

A list containing the interactions. For each gene/protein, the is an entry in the list with "name" containing name of the gen/protein and "interactors" containing the list of genes/proteins interacting with it.

Author(s)

Kircicegi Korkmaz

Examples

1
	##-interactionList <- readUndirectedInteractionsFromCsv("Arabidopsis_BioGRID-3.1.72.entrezid.csv", " ", FALSE);