GO::Model::GraphNodeInstance - a graph node located in a tree
$it = $graph->create_iterator; # returns a GO::Model::GraphIterator object while (my $ni = $it->next_node_instance) { $depth = $ni->depth; $term = $ni->term; $reltype = $ni->parent_rel->type; printf "%s %8s Term = %s (%s) // depth=%d\n", "----" x $depth, $reltype, $term->name, $term->public_acc, $depth; }
see GO::Model::Graph
Usage - Returns - GO::Model::Term Args -
see GO::Model::Term
Usage - Returns - int Args -
Usage - Returns - GO::Model::Relationship Args -
see GO::Model::Relationship
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.