loadSifInIgraph: Load SIF as igraph Network

View source: R/loadSifInIgraph.R

loadSifInIgraphR 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)


BioPAX/paxtoolsr documentation built on Jan. 31, 2023, 4:22 a.m.