Learn R Programming

ibh (version 1.20.0)

readDirectedInteractionsFromCsv: Read directed interactions from csv and create the interaction list

Description

This function reads the directed 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

readDirectedInteractionsFromCsv(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

containing name of the gen/protein and "interactors" containing the list of genes/proteins interacting with it.

Examples

Run this code
	##-interactionList <- readDirectedInteractionsFromCsv("Arabidopsis_BioGRID-.1.72.entrezid.csv",			" ", FALSE);
	

Run the code above in your browser using DataLab