
BioGraph::FileAccess

use BioGraph::FileAccess;

Package for manipulate graphs represented as well as adjacent matrix or adjacent list. Library for read and write different types of graph.

This is the list of the differents functions implemented in this library.
Use this function to read graph from file
the name of the graph file to read ; the recognized formats of graphs are
Note that the format of the graph is detected by checking the name file, so ensure that your file has the correct extension.
the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list
enable (or not) the symetrisation of the edges of the graph : 0 = disable, 1 = enable
$G{$s1}{$s2} exists if (and only if) the edge ($s1, $s2) exists
$G{$s1} contains the list of all the vertices connected to $s1
Associate a comment to vertices (ex: associate a function to a protein, ...)
the name of the associations file (format : vertex tabulate comment)
the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list
the hash table of the graph
Use this function to write graph to disk in the required format
the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list
the basename of the output file (ex: graph => graph.dot)
one type of format in : dot, gr, biolayout, net
the hash table of the graph
Use this function to write valuated graph to disk in the required format
the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list
the basename of the output file (ex: graph => graph.dot)
one type of format in : dot, gr, biolayout, net
the reference to the table of distances
the hash table of the graph
Use this function to write graph with clusters to disk in the required format
the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list
the basename of the output file (ex: graph => graph.dot)
one type of format in : dot, gr, biolayout, net
the number of clusters
the table of clusters's elements
the hash table of the graph
Use this function to write clusters to disk in the treedyn format
the basename of the output file (ex: graph => graph.dot)
the number of clusters
the table of clusters's elements

BioGraph::FileAccess is Copyright (C) 2004, Tristan Colombo
CNRS - LCB, 31 chemin Joseph Aiguier
13009 Marseille
France
Email: tristan.colombo@ibsm.cnrs-mrs.fr
All rights reserved.
You may distribute this package under the terms of the GNU
General Public License.