read.sif: Reading network files

View source: R/read.network.R

read.sifR Documentation

Reading network files

Description

Function to read network files.

Usage

read.sif(sif.file, format = 'graphNEL', directed = FALSE, header =
TRUE, sep = '\t', ...)

Arguments

sif.file

Name of network file in SIF format.

format

Output format: igraph or graphNEL

directed

Logical. Directed/undirected graph. Not used in the current model.

header

Logical. Indicate whether the SIF file has header or not.

sep

Field separator.

...

Further optional arguments to be passed for file reading.

Details

Read in SIF network file, return R graph object in igraph or graphNEL format.

Value

R graph object in igraph or graphNEL format.

Author(s)

Leo Lahti leo.lahti@iki.fi

Examples


#net <- read.sif('network.sif')


antagomir/netresponse documentation built on March 30, 2023, 7:24 a.m.