Description Usage Arguments Details Value Examples
View source: R/loadSifInIgraph.R
Load SIF as igraph Network
1 | loadSifInIgraph(sif, directed = TRUE)
|
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) |
Users are likely to run into issues if the input SIF has factor levels
a directed igraph network with interaction types
1 2 | results <- readSif(system.file("extdata", "test_sif.txt", package="paxtoolsr"))
g <- loadSifInIgraph(results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.