GO::Model::Root
base class for all GO::Model objects
Constructor: Basically just calls _initialize(). Most subclasses should not need to override new, but instead should override _initialize().
If _initialize() fails , the procedure will die
WARNING: This procedure will die if initialization is unsuccessful. Use an eval statement to catch such exceptions.
Usage - $obj->obj_factory->create_new_term_object($h); Alias - apph Returns - L<GO::ObjFactory> Args - none
Prints out a description of the object to a string.
dumps the object (can be read back in with eval)
Usage - print $term->namespace(); # getting the type Usage - $term->namespace("molecular_function"); # setting the type Alias - type Alias - term_type Alias - category Alias - ontology Returns - string representing type Args - string represnting type [optional]
The OBO namespace for the GO::Model::Term or GO::Model::Relationship
Called at object destruction time. Should be overridden to perform cleanup tasks.
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.