Description Usage Arguments Details Value Examples
View source: R/Nets_writeSIF.R
write patient networks in Cytoscape's .sif format
1 2 3 4 5 | writeNetsSIF(
netPath,
outFile = paste(tempdir(), "out.sif", sep = getFileSep()),
netSfx = "_cont.txt"
)
|
netPath |
(char): vector of path to network files; file suffix should be '_cont.txt' networks should be in format: A B 1 where A and B are nodes, and 1 indicates an edge between them |
outFile |
(char) path to .sif file |
netSfx |
(char) suffix for network file name |
Converts a set of binary interaction networks into Cytoscape's sif format. (http://wiki.cytoscape.org/Cytoscape_User_Manual/Network_Formats) This utility permits visualization of feature selected networks.
No value. Side effect of writing all networks to outFile
1 2 3 4 | netDir <- system.file("extdata","example_nets",package="netDx")
netFiles <- paste(netDir,dir(netDir,pattern='txt$'),
sep=getFileSep())
writeNetsSIF(netFiles,'merged.sif',netSfx='.txt')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.