Bio::Ontology::SimpleGOEngine GraphAdaptor02
SummaryIncluded librariesPackage variablesDescriptionGeneral documentationMethods
Toolbar
WebCvs
Summary
Bio::Ontology::SimpleGOEngine::GraphAdaptor02 - Graph adaptor (v02.x) for
Bio::Ontology::SimpleGOEngine
Package variables
No package variables defined.
Inherit
Bio::Ontology::SimpleGOEngine::GraphAdaptor
Synopsis
No synopsis!
Description
Internal subclass of Bio::Ontology::SimpleGOEngine::GraphAdaptor for
Graph v0.2x.
Call this via Bio::Ontology::SimpleGOEngine::GraphAdaptor
Methods
edges
No description
Code
edges_at
No description
Code
set_vertex_attribute
No description
Code
get_vertex_attribute
No description
Code
set_edge_attribute
No description
Code
get_edge_attribute
No description
Code
Methods description
None available.
Methods code
edgesdescriptionprevnextTop
sub edges {
  my $self=shift;
  my @edges02=$self->_graph->edges(@_);
  my @edges;
  while (@edges02) {
    my($u,$v)=(shift @edges02,shift @edges02);
    push(@edges,[$u,$v]);
  }
  @edges;
}

# edges_at
# v0.2x uses edges() method and returns (u0,v0, u1,v1, ...)
# v0.5x returns ([u0,v0], [u1,v1], ...)
}
edges_atdescriptionprevnextTop
sub edges_at {
  my $self=shift;
  $self->edges(@_);
}

# set_vertex_attribute
# v0.2x uses set_attribute($attribute,$v,$value)
}
set_vertex_attributedescriptionprevnextTop
sub set_vertex_attribute {
  my($self,$v,$attribute,$value)=@_;
  $self->_graph->set_attribute($attribute,$v,$value);
}

# get_vertex_attribute
# v0.2x uses get_attribute($attribute,$v)
}
get_vertex_attributedescriptionprevnextTop
sub get_vertex_attribute {
  my($self,$v,$attribute)=@_;
  $self->_graph->get_attribute($attribute,$v);
}

# set_edge_attribute
# v0.2x uses set_attribute($attribute,$u,$v,$value)
}
set_edge_attributedescriptionprevnextTop
sub set_edge_attribute {
  my($self,$u,$v,$attribute,$value)=@_;
  $self->_graph->set_attribute($attribute,$u,$v,$value);
}

# get_edge_attribute
# v0.2x uses get_attribute($attribute,$u,$v)
}
get_edge_attributedescriptionprevnextTop
sub get_edge_attribute {
  my($self,$u,$v,$attribute)=@_;
  $self->_graph->get_attribute($attribute,$u,$v);
}

1;
}
General documentation
FEEDBACKTop
Mailing ListsTop
User feedback is an integral part of the evolution of this and other
Bioperl modules. Send your comments and suggestions preferably to the
Bioperl mailing lists Your participation is much appreciated.
  bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support Top
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and
reponsive experts will be able look at the problem and quickly
address it. Please include a thorough description of the problem
with code and data examples if at all possible.
Reporting BugsTop
report bugs to the Bioperl bug tracking system to help us keep track
the bugs and their resolution. Bug reports can be submitted via the
web:
  https://redmine.open-bio.org/projects/bioperl/
AUTHORTop
Nat Goodman
Email: natg at shore.net
Address:
  Institute for Systems Biology
1441 N 34th St
Seattle, WA 98103-8904
APPENDIXTop
The rest of the documentation details each of the object
methods. Internal methods are usually preceded with a _