read.sif {netresponse} | R 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")

[Package netresponse version 1.40.0 Index]