read.sif: 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.
...
Further optional arguments to be passed for file reading.
Value
- R graph object in igraph or graphNEL format.
Details
Read in SIF network file, return R graph object in igraph or graphNEL
format.Examples
Run this code#net <- read.sif("network.sif")
Run the code above in your browser using DataLab