Tristan Colombo

NAME

BioGraph::Visual

SYNOPSIS

use BioGraph::Visual;

DESCRIPTION

Package for manipulate graphs represented as well as adjacent matrix or adjacent list. Library for visualize graphs in different format (txt, pdf, ps, 3d, ...).

AVAILABLE FUNCTIONS

This is the list of the differents functions implemented in this library.

export

Export the graph in a file image format. To use this function you MUST have installed the 'dot' program from AT&T (http://www.research.att.com/sw/tools/graphviz).

  • SYNOPSIS export(representation, file_name, format, graph)

  • PARAMETERS

    representation

    the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list

    file_name

    the basename of the output file (ex: graph => graph.dot)

    format

    one type of format in : ps, gif, jpeg, fig, xdot

    graph

    the hash table of the graph

  • OUTPUT Nothing else the converted file

display

This function display on the screen (as text) a graph contained in a hash table

  • SYNOPSIS display(representation, graph)

  • PARAMETERS

    representation

    the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list

    graph

    the hash table of the graph

  • OUTPUT Nothing else the graph on the screen

generate_3D

Generate the representation in 3 dimensions of the vertices densities of a graph (pdf file). You MUST have installed the R package to use this function (http://www.R-project.org).

  • SYNOPSIS generate_3D(file_name, representation, ref_densities, graph)

  • PARAMETERS

    file_name

    the name of the file to produce without extension

    representation

    the type of representation choosen : 1 = adjacent matrix, and 2 = adjacent list

    ref_densities

    the reference of the hash table of densities

    graph

    the hash table of the graph

  • OUTPUT The 3D graph in pdf format

AUTHOR AND COPYRIGHT

  BioGraph::Visual 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.