Package 'igraphtosonia'

Title: Convert iGraph graps to SoNIA .son files
Description: This program facilitates exporting igraph graphs to the SoNIA file format
Authors: Sean J Westwood <[email protected]>
Maintainer: Sean J Westwood <[email protected]>
License: GPL (>= 2)
Version: 1.0
Built: 2024-11-29 09:06:41 UTC
Source: CRAN

Help Index


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 [email protected]

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 [email protected]

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 [email protected]

Examples

#example
## Not run: 
write.graph.to.sonia(graph,"export.son")

## End(Not run)