Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 110 lines (107 sloc) 2.756 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
Index: Bio/Annotation/OntologyTerm.pm
*** Bio/Annotation/OntologyTerm.pm 28 Feb 2003 05:15:42 -0000 1.5
--- Bio/Annotation/OntologyTerm.pm 4 Apr 2003 15:39:25 -0000
***************
*** 388,392 ****
--- 388,490 ----
      return shift->term()->remove_synonyms(@_);
  } # remove_synonyms
  
+ =head2 get_dblinks
+
+ Title : get_dblinks()
+ Usage : @ds = $term->get_dblinks();
+ Function: Returns a list of each dblinks of this GO term.
+ Returns : A list of dblinks [array of [scalars]].
+ Args :
+
+ =cut
+
+ sub get_dblinks {
+ return shift->term->get_dblinks(@_);
+ } # get_dblinks
+
+
+ =head2 add_dblink
+
+ Title : add_dblink
+ Usage : $term->add_dblink( @dbls );
+ or
+ $term->add_dblink( $dbl );
+ Function: Pushes one or more dblinks
+ into the list of dblinks.
+ Returns :
+ Args : One dblink [scalar] or a list of
+ dblinks [array of [scalars]].
+
+ =cut
+
+ sub add_dblink {
+ return shift->term->add_dblink(@_);
+ } # add_dblink
+
+
+ =head2 remove_dblinks
+
+ Title : remove_dblinks()
+ Usage : $term->remove_dblinks();
+ Function: Deletes (and returns) the definition references of this GO term.
+ Returns : A list of definition references [array of [scalars]].
+ Args :
+
+ =cut
+
+ sub remove_dblinks {
+ return shift->term->remove_dblinks(@_);
+ } # remove_dblinks
+
+ =head2 get_secondary_ids
+
+ Title : get_secondary_ids
+ Usage : @ids = $term->get_secondary_ids();
+ Function: Returns a list of secondary identifiers of this Term.
+
+ Secondary identifiers mostly originate from merging terms,
+ or possibly also from splitting terms.
+
+ Returns : A list of secondary identifiers [array of [scalar]]
+ Args :
+
+ =cut
+
+ sub get_secondary_ids {
+ return shift->term->get_secondary_ids(@_);
+ } # get_secondary_ids
+
+
+ =head2 add_secondary_id
+
+ Title : add_secondary_id
+ Usage : $term->add_secondary_id( @ids );
+ or
+ $term->add_secondary_id( $id );
+ Function: Adds one or more secondary identifiers to this term.
+ Returns :
+ Args : One or more secondary identifiers [scalars]
+
+ =cut
+
+ sub add_secondary_id {
+ return shift->term->add_secondary_id(@_);
+ } # add_secondary_id
+
+
+ =head2 remove_secondary_ids
+
+ Title : remove_secondary_ids
+ Usage : $term->remove_secondary_ids();
+ Function: Deletes (and returns) the secondary identifiers of this Term.
+ Returns : The previous list of secondary identifiers [array of [scalars]]
+ Args :
+
+ =cut
+
+ sub remove_secondary_ids {
+ return shift->term->remove_secondary_ids(@_);
+ } # remove_secondary_ids
+
  
  1;
Something went wrong with that request. Please try again.