loadSifInIgraph {paxtoolsr} | R Documentation

## Load SIF as igraph Network

### Description

Load SIF as igraph Network

### Usage

    loadSifInIgraph(sif, directed = TRUE)

### Arguments

`sif` | a binary SIF as a data.frame with three columns: "PARTICIPANT_A", "INTERACTION_TYPE", "PARTICIPANT_B"
`directed` | a boolean weather the returned graph should be directed (DEFAULT: TRUE)

### Details

Users are likely to run into issues if the input SIF has factor levels

### Value

a directed igraph network with interaction types

### Examples

    results <- readSif(system.file("extdata", "test_sif.txt", package="paxtoolsr"))
    g <- loadSifInIgraph(results)

[Package paxtoolsr version 1.26.0 Index]