Package netconv :: Module cytoscape
[show private | hide private]
[frames | no frames]

Module netconv.cytoscape

Functions to work with Cytoscape files

Author: Marcio Rosa da Silva

Contact: mrs@gbf.de

Organization: Systems Biology Group / GBF

License: GPL

Function Summary
  exportCyAttributes(obj, filename, attrname, s)
Exports attributes to a Cytoscape's attributes file
  exportSIF(obj, filename, connector)
Exports network to Cytoscape's .sif file
  importCyAttributes(obj, filename, attr)
Imports attributes from a Cytoscape's attributes file
  importSIF(obj, filename, filterLink)
Imports network from Cytoscape's .sif file

Function Details

exportCyAttributes(obj, filename='-', attrname=('cluster', 'cluster'), s='')

Exports attributes to a Cytoscape's attributes file
Parameters:
obj - network
filename - file to export
attrname - attribute to write as header of Cytoscape's attributes file

exportSIF(obj, filename='-', connector='pp')

Exports network to Cytoscape's .sif file
Parameters:
obj - network
filename - .sif file
connector - type of relation between nodes (see Cytoscape manual section of SIF file format)

importCyAttributes(obj, filename='-', attr=None)

Imports attributes from a Cytoscape's attributes file
Parameters:
obj - network
filename - attributes file

importSIF(obj, filename='-', filterLink=None)

Imports network from Cytoscape's .sif file
Parameters:
obj - network
filename - .sif file
filterLink - import only specified links (column 2 of .SIF file)

Generated by Epydoc 2.1 on Tue Aug 30 11:04:16 2005 http://epydoc.sf.net