Type: | Package |
Version: | 1.0 |
Date: | 2010-08-05 |
Title: | Convert iGraph graps to SoNIA .son files |
Author: | Sean J Westwood <seanjw@stanford.edu> |
Maintainer: | Sean J Westwood <seanjw@stanford.edu> |
Depends: | igraph |
Description: | This program facilitates exporting igraph graphs to the SoNIA file format |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
LazyLoad: | yes |
Packaged: | 2012-10-29 08:59:00 UTC; ripley |
Repository: | CRAN |
Date/Publication: | 2012-10-29 08:59:00 |
NeedsCompilation: | no |
Attach valid edge attributes to the SoNIA output graph
Description
attachEdgeAtt
Attach valid Edge attributes to the SoNIA output graph.
Usage
attachEdgeAtt(export_graph,source_graph,exportAttName,sourceAttName)
Arguments
export_graph |
graph formatted for SoNIA |
source_graph |
source (original) igraph graph |
exportAttName |
attribute name supported by SoNIA |
sourceAttName |
attribute name supported by igraph |
Value
export_graph |
graph formatted for SoNIA with the specified attribute |
Author(s)
Sean J. Westwood seanjw@stanford.edu
Examples
##
Attach valid vertex attributes to the SoNIA output graph
Description
attachVertexAtt
Attach valid vertex attributes to the SoNIA output graph.
Usage
attachVertexAtt(export_graph,source_graph,exportAttName,sourceAttName)
Arguments
export_graph |
graph formatted for SoNIA |
source_graph |
source (original) igraph graph |
exportAttName |
attribute name supported by SoNIA |
sourceAttName |
attribute name supported by igraph |
Value
export_graph |
graph formatted for SoNIA with the specified attribute |
Author(s)
Sean J. Westwood seanjw@stanford.edu
Examples
##
Write SoNIA file
Description
write.graph.to.sonia
Takes an igraph graph object and outputs a SoNIA import file
Usage
write.graph.to.sonia(source_graph,fileN)
Arguments
source_graph |
graph to export |
fileN |
file name for export |
Author(s)
Sean J Westwood seanjw@stanford.edu
Examples
#example
## Not run:
write.graph.to.sonia(graph,"export.son")
## End(Not run)