View source: R/loadSifInIgraph.R
loadSifInIgraph | R Documentation |
Load SIF as igraph Network
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
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.