1 Index: Bio/Annotation/OntologyTerm.pm
2 *** Bio/Annotation/OntologyTerm.pm 28 Feb 2003 05:15:42 -0000 1.5
3 --- Bio/Annotation/OntologyTerm.pm 4 Apr 2003 15:39:25 -0000
7 return shift->term()->remove_synonyms(@_);
12 + Title : get_dblinks()
13 + Usage : @ds = $term->get_dblinks();
14 + Function: Returns a list of each dblinks of this GO term.
15 + Returns : A list of dblinks [array of [scalars]].
21 + return shift->term->get_dblinks(@_);
28 + Usage : $term->add_dblink( @dbls );
30 + $term->add_dblink( $dbl );
31 + Function: Pushes one or more dblinks
32 + into the list of dblinks.
34 + Args : One dblink [scalar] or a list of
35 + dblinks [array of [scalars]].
40 + return shift->term->add_dblink(@_);
44 + =head2 remove_dblinks
46 + Title : remove_dblinks()
47 + Usage : $term->remove_dblinks();
48 + Function: Deletes (and returns) the definition references of this GO term.
49 + Returns : A list of definition references [array of [scalars]].
54 + sub remove_dblinks {
55 + return shift->term->remove_dblinks(@_);
58 + =head2 get_secondary_ids
60 + Title : get_secondary_ids
61 + Usage : @ids = $term->get_secondary_ids();
62 + Function: Returns a list of secondary identifiers of this Term.
64 + Secondary identifiers mostly originate from merging terms,
65 + or possibly also from splitting terms.
67 + Returns : A list of secondary identifiers [array of [scalar]]
72 + sub get_secondary_ids {
73 + return shift->term->get_secondary_ids(@_);
74 + } # get_secondary_ids
77 + =head2 add_secondary_id
79 + Title : add_secondary_id
80 + Usage : $term->add_secondary_id( @ids );
82 + $term->add_secondary_id( $id );
83 + Function: Adds one or more secondary identifiers to this term.
85 + Args : One or more secondary identifiers [scalars]
89 + sub add_secondary_id {
90 + return shift->term->add_secondary_id(@_);
91 + } # add_secondary_id
94 + =head2 remove_secondary_ids
96 + Title : remove_secondary_ids
97 + Usage : $term->remove_secondary_ids();
98 + Function: Deletes (and returns) the secondary identifiers of this Term.
99 + Returns : The previous list of secondary identifiers [array of [scalars]]
104 + sub remove_secondary_ids {
105 + return shift->term->remove_secondary_ids(@_);
106 + } # remove_secondary_ids