GO::Model::GraphIterator;
This is a hack. It wraps GO::Model::GraphIterator and provides a tree like iteration, rather than a graph-like iteration.
This is done by giving TreeIterator a template array.
The array looks like this :
[ [3674, 'isa', 3673], [9277, 'isa', 5618] ]
3674 is selected iff it is the child of 3673. 9277 is selected iff it is the child of 5618.
Usage - $graphiter->order("breadth"); Returns - string Args - string
gets/sets traversal order; breadth or depth; default is depth
Usage - $graphiter->direction("up"); Returns - string Args - string
gets/sets direction; default is "down"
Usage - Returns - GO::Model::Term Args -
Usage - Returns - Args -
Usage - Returns - array ref Args - none
Usage - Returns - GO::Model::GraphNodeInstance Args -
To install GO::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GO::Utils
CPAN shell
perl -MCPAN -e shell install GO::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.