GO::Model::Root(3pm) | User Contributed Perl Documentation | GO::Model::Root(3pm) |
GO::Model::Root - base class for all GO::Model objects
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.
2021-01-09 | perl v5.32.0 |